All reports
High

Remote code execution in better-macro

Affected versions

Version ranges need review.

Rust / Cargobetter-macro
Affected versions
>=0.0.0-0
Fixed version
Not reported
Rust / Cargobetter-macro
Affected versions
<= 1.0.4
Fixed version
Not reported

Exploitation

CVE-2021-38196

Probability of exploitation in the next 30 days: 2.57%

FIRST EPSS · 2026-11-21

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.

Links