CVE-2021-38196

Published Aug 8, 2021 CVSS 3.1 · 9.8 Critical EPSS 2.6% KEV · Not listed
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2021-1616 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.
Github GHSA Github GHSA GHSA-79wf-qcqv-r22r Remote code execution in better-macro
History

No history.

Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 4, 2024, 1:37 AM
Reserved
Aug 8, 2021, 12:00 AM
Status
Modified
Published
Aug 8, 2021, 6:15 AM
Modified
Jun 17, 2026, 4:01 AM