CVEvulnerability

CVE-2021-38196

9.8 CRITICAL Published 2021-08-08 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2021-08-08
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0 ([email protected])
7.5 HIGH — AV:N/AC:L/Au:N/C:P/I:P/A:P
Weaknesses
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 configurations

• better-macro project better-macro (<= 2021-07-22)

Related

Weakness · CWE (1)

  • CWE-94 Improper Control of Generation of Code weakness

References