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 |
16 Aug 2021, 16:50
Type | Values Removed | Values Added |
---|---|---|
CVSS |
v2 : v3 : |
v2 : 7.5
v3 : 9.8 |
CWE | CWE-94 | |
References | (MISC) https://rustsec.org/advisories/RUSTSEC-2021-0077.html - Exploit, Issue Tracking, Patch, Third Party Advisory | |
References | (MISC) https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/better-macro/RUSTSEC-2021-0077.md - Third Party Advisory | |
CPE | cpe:2.3:a:better-macro_project:better-macro:*:*:*:*:*:rust:*:* |
08 Aug 2021, 06:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
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')