Skip to content
OpenAdvisories
Critical · 9.8 CVE-2021-38196 EUVD-2021-1616GHSA-79wf-qcqv-r22rRUSTSEC-2021-0077

Remote code execution in better-macro

Published Aug 8, 2021 · Updated Aug 4, 2024 · Assigned by mitre

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 packages

EcosystemPackageAffectedFixedRecord
crates.io better-macro <= 1.0.4 — GHSA-79wf-qcqv-r22r
crates.io better-macro >= 0.0.0-0 — RUSTSEC-2021-0077

References