CVE-2024-58266
Comex Shlex vulnerability
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 products
Shlex. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Comex Shlex runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/comex/rust-shlex/security/advisories/GHSA-r7qv-8r2h-pg27 · Vendor Advisory
- rustsec.org/advisories/RUSTSEC-2024-0006.html · Third Party Advisory
- crates.io/crates/shlex
- nvd.nist.gov/vuln/detail/CVE-2024-58266
- github.com/advisories/GHSA-r7qv-8r2h-pg27
- nvd.nist.gov/vuln/detail/CVE-2024-58266
- cve.org/CVERecord?id=CVE-2024-58266
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.