Skip to content

CVE-2021-38196 Remote code execution in better-macro

CriticalCVSS 9.8 EPSS 2.6%
Published
Updated
Exploit status
No public exploit known

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.

Upgrade path

2 packages: 1 fixed, 1 partially fixed.

PackageAffectedFixed inStatus
crates.io better-macro(crates.io) <= 1.0.4; >= 0.0.0-0 after 1.0.4 Partially fixed
better-macro project better-macro <= 2021-07-22 after 2021-07-22 Fixed

Affected products

ProductAffected versionsFixed in
crates.io better-macro(crates.io) <= 1.0.4 No fix listed
crates.io better-macro(crates.io) >= 0.0.0-0 No fix listed
better-macro project better-macro <= 2021-07-22 No fix listed

References