GHSA-79wf-qcqv-r22r
Dashboard / Vulnerabilities / GHSA-79wf-qcqv-r22r
GHSA-79wf-qcqv-r22r
Published: 25 Aug 2021Last Modified: 8 Nov 2023
Aliases:
Summary: Remote code execution in better-macro
Details: 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.
References: https://nvd.nist.gov/vuln/detail/CVE-2021-38196, https://github.com/raycar5/better-macro, https://github.com/raycar5/better-macro/blob/24ff1702397b9c19bbfa4c660e2316cd77d3b900/src/lib.rs#L36-L38, https://rustsec.org/advisories/RUSTSEC-2021-0077.html
Affected packages
Package
Name: better-macro
Purl: pkg:cargo/better-macro
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -None
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
