What’s Vulnerable › Vulnerabilities
CVE-2021-38196
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.6% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2021-08-08 · updated 2026-06-17
- Weakness: CWE-94
Description
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.
Affected products
- Better-Macro Project Better-Macro: through 2021-07-22
References
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/better-macro/RUSTSEC-2021-0077.md
- https://rustsec.org/advisories/RUSTSEC-2021-0077.html
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/better-macro/RUSTSEC-2021-0077.md
- https://rustsec.org/advisories/RUSTSEC-2021-0077.html
Get alerted when CVE-2021-38196 or the next vulnerability affects your stack