cve.bz

CVE-2021-38196

9.8 criticalEPSS 2.6%

Critical (9.8) in better-macro project better-macro. EPSS 2.6% chance of exploitation in the next 30 days.

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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
2.6% chance of exploitation in the next 30 days; higher than 85% of CVEs (scores of 2026-10-31)
CWE
CWE-94
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-79wf-qcqv-r22rcrates.iobetter-macro<=1.0.4no fix published
RUSTSEC-2021-0077crates.iobetter-macro>=0.0.0-0no fix published

References

Check your stackJSON