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 |
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
History
21 Nov 2024, 06:16
Type | Values Removed | Values Added |
---|---|---|
References | () https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/better-macro/RUSTSEC-2021-0077.md - Third Party Advisory | |
References | () https://rustsec.org/advisories/RUSTSEC-2021-0077.html - Exploit, Issue Tracking, Patch, Third Party Advisory |
Information
Published : 2021-08-08 06:15
Updated : 2024-11-21 06:16
NVD link : CVE-2021-38196
Mitre link : CVE-2021-38196
CVE.ORG link : CVE-2021-38196
JSON object : View
Products Affected
better-macro_project
- better-macro
CWE
CWE-94
Improper Control of Generation of Code ('Code Injection')