CVE-2024-58266
shlex: Shlex Command Injection Vulnerability
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by GHSA (low), Red Hat (low), Azure Linux (low).
Description
The shlex crate before 1.2.1 for Rust allows unquoted and unescaped instances of the { and \xa0 characters, which may facilitate command injection.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| Azure Linux 3.0 | rust | 0:1.86.0-3.azl3 |
| cargo::GitHub Security Advisory Rust | shlex | 1.3.0 |
| debian 10 | rust-shlex | no fix listed |
| debian 11 | rust-shlex | no fix listed |
| debian 12 | rust-shlex | no fix listed |
| debian 13 | rust-shlex | 1.3.0-1 |
| debian 14 | rust-shlex | 1.3.0-1 |
| echo | rust-shlex | 1.3.0-1 |
| rapidfort alma 10 | firefox, gjs, gjs-devel and 1 more | no fix listed |
| rapidfort alma 8 | firefox, thunderbird | no fix listed |
| rapidfort alma 9 | firefox, firefox-x11, gjs and 6 more | no fix listed |
| rapidfort debian 12 | rust-shlex | 0:1.3.0-1 |
Show all 70 entries from 22 sources
| Source | Package | Fixed in |
|---|---|---|
| Azure Linux 3.0 | rust | 0:1.86.0-3.azl3 |
| cargo::GitHub Security Advisory Rust | shlex | 1.3.0 |
| debian 10 | rust-shlex | no fix listed |
| debian 11 | rust-shlex | no fix listed |
| debian 12 | rust-shlex | no fix listed |
| debian 13 | rust-shlex | 1.3.0-1 |
| debian 14 | rust-shlex | 1.3.0-1 |
| echo | rust-shlex | 1.3.0-1 |
| rapidfort alma 10 | firefox | no fix listed |
| rapidfort alma 10 | gjs | no fix listed |
| rapidfort alma 10 | gjs-devel | no fix listed |
| rapidfort alma 10 | thunderbird | no fix listed |
| rapidfort alma 8 | firefox | no fix listed |
| rapidfort alma 8 | thunderbird | no fix listed |
| rapidfort alma 9 | firefox | no fix listed |
| rapidfort alma 9 | firefox-x11 | no fix listed |
| rapidfort alma 9 | gjs | no fix listed |
| rapidfort alma 9 | gjs-devel | no fix listed |
| rapidfort alma 9 | keylime-agent-rust | no fix listed |
| rapidfort alma 9 | stratisd | no fix listed |
| rapidfort alma 9 | stratisd-dracut | no fix listed |
| rapidfort alma 9 | stratisd-tools | no fix listed |
| rapidfort alma 9 | thunderbird | no fix listed |
| rapidfort debian 12 | rust-shlex | 0:1.3.0-1 |
| rapidfort debian 13 | rust-shlex | 0:1.3.0-1 |
| rapidfort fedora 43 | firefox | 158.0.1-3.fc43 |
| rapidfort fedora 43 | gjs | 1.86.0-3.fc43 |
| rapidfort fedora 43 | gjs-devel | 1.86.0-3.fc43 |
| rapidfort fedora 43 | thunderbird | 158.0-4.fc43 |
| rapidfort Oracle Linux 10 | firefox | no fix listed |
| rapidfort Oracle Linux 10 | gjs | no fix listed |
| rapidfort Oracle Linux 10 | gjs-devel | no fix listed |
| rapidfort Oracle Linux 10 | thunderbird | no fix listed |
| rapidfort Oracle Linux 9 | firefox | no fix listed |
| rapidfort Oracle Linux 9 | firefox-x11 | no fix listed |
| rapidfort Oracle Linux 9 | gjs | no fix listed |
| rapidfort Oracle Linux 9 | gjs-devel | no fix listed |
| rapidfort Oracle Linux 9 | keylime-agent-rust | no fix listed |
| rapidfort Oracle Linux 9 | thunderbird | no fix listed |
| rapidfort Red Hat 10 | firefox | no fix listed |
| rapidfort Red Hat 10 | gjs | no fix listed |
| rapidfort Red Hat 10 | gjs-devel | no fix listed |
| rapidfort Red Hat 10 | thunderbird | no fix listed |
| rapidfort Red Hat 9 | firefox | no fix listed |
| rapidfort Red Hat 9 | gjs | no fix listed |
| rapidfort Red Hat 9 | gjs-devel | no fix listed |
| rapidfort Red Hat 9 | thunderbird | no fix listed |
| rapidfort rocky 10 | firefox | no fix listed |
| rapidfort rocky 10 | gjs | no fix listed |
| rapidfort rocky 10 | gjs-devel | no fix listed |
| rapidfort rocky 10 | thunderbird | no fix listed |
| rapidfort rocky 8 | firefox | no fix listed |
| rapidfort rocky 8 | thunderbird | no fix listed |
| rapidfort rocky 9 | firefox | no fix listed |
| rapidfort rocky 9 | firefox-x11 | no fix listed |
| rapidfort rocky 9 | gjs | no fix listed |
| rapidfort rocky 9 | gjs-devel | no fix listed |
| rapidfort rocky 9 | keylime-agent-rust | no fix listed |
| rapidfort rocky 9 | thunderbird | no fix listed |
| Red Hat | conmon-rs | no fix listed |
| Red Hat | firefox | no fix listed |
| Red Hat | firefox-x11 | no fix listed |
| Red Hat | gjs | no fix listed |
| Red Hat | gjs-devel | no fix listed |
| Red Hat | kata-containers | no fix listed |
| Red Hat | keylime-agent-rust | no fix listed |
| Red Hat | stratisd | no fix listed |
| Red Hat | stratisd-dracut | no fix listed |
| Red Hat | stratisd-tools | no fix listed |
| Red Hat | thunderbird | no fix listed |
References
- https://access.redhat.com/security/cve/CVE-2024-58266
- https://crates.io/crates/shlex
- https://github.com/comex/rust-shlex
- https://github.com/comex/rust-shlex/security/advisories/GHSA-r7qv-8r2h-pg27
- https://nvd.nist.gov/vuln/detail/CVE-2024-58266
- https://rustsec.org/advisories/RUSTSEC-2024-0006.html
- https://www.cve.org/CVERecord?id=CVE-2024-58266