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.
References
Link | Resource |
---|---|
https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/better-macro/RUSTSEC-2021-0077.md | Third Party Advisory |
https://rustsec.org/advisories/RUSTSEC-2021-0077.html | Exploit Issue Tracking Patch Third Party Advisory |
Configurations
Information
Published : 2021-08-07 23:15
Updated : 2021-08-16 09:50
NVD link : CVE-2021-38196
Mitre link : CVE-2021-38196
JSON object : View
CWE
CWE-94
Improper Control of Generation of Code ('Code Injection')
Products Affected
better-macro_project
- better-macro