CVE-2021-38196
Remote code execution in better-macro
Einstufung nach Quelle
Trivys eigenes Label ist CRITICAL. Kritisch laut NVD. Niedriger laut GHSA (hoch).
Beschreibung
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.
Betroffene Pakete und behobene Versionen
| Quelle | Paket | Behoben in |
|---|---|---|
| cargo::GitHub Security Advisory Rust | better-macro | kein Fix angegeben |
Referenzen
- https://github.com/raycar5/better-macro
- https://github.com/raycar5/better-macro/blob/24ff1702397b9c19bbfa4c660e2316cd77d3b900/src/lib.rs#L36-L38
- https://nvd.nist.gov/vuln/detail/CVE-2021-38196
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/better-macro/RUSTSEC-2021-0077.md
- https://rustsec.org/advisories/RUSTSEC-2021-0077.html