Read the docs
TI-2021-15873 Aliases CVE-2021-38196GHSA-79wf-qcqv-r22r

An issue was discovered in the better-macro crate through 2021-07-22 for Rust.

Priority MEDIUM 47CWE-94Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
No fix listed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-94.

Summary

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.

Why it matters now

EPSS 0.02567 85th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix No fix listed No fixed version in the sources yet

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—better-macro (crates.io)up to 1.0.4—No fix listedGHSA-79wf-qcqv-r22r
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • better-macro (crates.io) Vendor— Affected up to 1.0.4 Fixed in — No fix listed GHSA-79wf-qcqv-r22r

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:better-macro_project:better-macro:*:*:*:*:*:rust:*:*up to 2021-07-22VulnerableBetter-macro Project
  • cpe:2.3:a:better-macro_project:better-macro:*:*:*:*:*:rust:*:* Versions up to 2021-07-22 Vulnerable ·Better-macro Project

Remediation

No fixed version listed by the sources yet.

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-38196
  2. 2026-10-03 Alias added: GHSA-79wf-qcqv-r22r

References

Sources