{"id":"UBUNTU-CVE-2024-58266","details":"The shlex crate before 1.2.1 for Rust allows unquoted and unescaped instances of the { and \\xa0 characters, which may facilitate command injection.","modified":"2026-05-20T16:20:13.314958031Z","published":"2025-07-27T22:15:00Z","upstream":["CVE-2024-58266"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-58266"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2024-58266"},{"type":"REPORT","url":"https://crates.io/crates/shlex"},{"type":"REPORT","url":"https://github.com/comex/rust-shlex/security/advisories/GHSA-r7qv-8r2h-pg27"},{"type":"REPORT","url":"https://rustsec.org/advisories/RUSTSEC-2024-0006.html"}],"affected":[{"package":{"name":"rust-shlex","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/rust-shlex?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.1.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"librust-shlex-dev","binary_version":"0.1.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-58266.json"}},{"package":{"name":"rust-shlex","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/rust-shlex?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.1.1-1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.1.1-1","binary_name":"librust-shlex-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-58266.json"}},{"package":{"name":"rust-shlex","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/rust-shlex?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1.0-1","1.2.0-1","1.3.0-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.3.0-1","binary_name":"librust-shlex-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-58266.json"}},{"package":{"name":"rust-shlex","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/rust-shlex?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"librust-shlex-dev","binary_version":"1.3.0-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-58266.json"}},{"package":{"name":"rust-shlex","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/rust-shlex?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"librust-shlex-dev","binary_version":"1.3.0-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-58266.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}