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.
Metrics
CVSS 3.1 9.8/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/better-macro/RUSTSEC-2021-0077.mdThird Party Advisory
- https://rustsec.org/advisories/RUSTSEC-2021-0077.htmlExploit, Issue Tracking, Patch, Third Party Advisory
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/better-macro/RUSTSEC-2021-0077.mdThird Party Advisory
- https://rustsec.org/advisories/RUSTSEC-2021-0077.htmlExploit, Issue Tracking, Patch, Third Party Advisory
Timeline
- Published
- Aug 8, 2021
- Last modified
- Jun 17, 2026
- NVD status
- Modified