Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTc5d2YtcWNxdi1yMjJy
Remote code execution in better-macro
An issue was discovered in the better-macro crate through 2021-07-22 for Rust. It intentionally demonstrates that remote attackers can execute arbitrary code via proc-macros, and otherwise has no legitimate purpose.
Permalink: https://github.com/advisories/GHSA-79wf-qcqv-r22rJSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTc5d2YtcWNxdi1yMjJy
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: about 3 years ago
Updated: almost 2 years ago
CVSS Score: 9.8
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Identifiers: GHSA-79wf-qcqv-r22r, CVE-2021-38196
References:
- https://nvd.nist.gov/vuln/detail/CVE-2021-38196
- https://github.com/raycar5/better-macro/blob/24ff1702397b9c19bbfa4c660e2316cd77d3b900/src/lib.rs#L36-L38
- https://rustsec.org/advisories/RUSTSEC-2021-0077.html
- https://github.com/advisories/GHSA-79wf-qcqv-r22r
Blast Radius: 1.0
Affected Packages
cargo:better-macro
Dependent packages: 0Dependent repositories: 0
Downloads: 4,755 total
Affected Version Ranges: <= 1.0.4
No known fixed version
All affected versions: 1.0.0, 1.0.1, 1.0.2, 1.0.4