CVE-2021-38196
Remote code execution in better-macro
Kaynağa göre önem derecesi
Trivy'nin kendi etiketi CRITICAL. Kritik diyenler: NVD. Daha düşük diyenler: GHSA (yüksek).
Açıklama
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.
Etkilenen paketler ve düzeltilmiş sürümler
| Kaynak | Paket | Düzeltildiği sürüm |
|---|---|---|
| cargo::GitHub Security Advisory Rust | better-macro | düzeltme belirtilmemiş |
Referanslar
- 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