Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTc5d2YtcWNxdi1yMjJy

Remote code execution in better-macro

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.

Permalink: https://github.com/advisories/GHSA-79wf-qcqv-r22r
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTc5d2YtcWNxdi1yMjJy
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: over 2 years ago
Updated: about 1 year ago


CVSS Score: 9.8
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Identifiers: GHSA-79wf-qcqv-r22r, CVE-2021-38196
References: Repository: https://github.com/raycar5/better-macro
Blast Radius: 1.0

Affected Packages

cargo:better-macro
Dependent packages: 0
Dependent repositories: 0
Downloads: 2,449 total
Affected Version Ranges: <= 1.0.4
No known fixed version
All affected versions: 1.0.0, 1.0.1, 1.0.2, 1.0.4