RCE in Better-Macro Project

CVE-2021-38196

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.

Vulnerability class: RCE (Remote Code Execution)

EPSS: 0.026 (83.5th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

  • cve@mitre.org (Exploit, Patch, Third Party Advisory, x_refsource_MISC, Issue Tracking)
  • cve@mitre.org (Third Party Advisory, x_refsource_MISC)

Frequently asked questions

What is CVE-2021-38196?
CVE-2021-38196 is a critical-severity vulnerability in Better-Macro Project, classified under Code Injection. CVSS score: 9.8/10. Published 2021-08-08.
How severe is CVE-2021-38196?
Critical severity. CVSS v3 base score is 9.8 out of 10.