{"schemaVersion":3,"id":"CVE-2024-58266","aliases":["SUSE-SU-2025:03077-1","UBUNTU-CVE-2024-58266","DEBIAN-CVE-2024-58266","GHSA-r7qv-8r2h-pg27","RUSTSEC-2024-0006"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2025-07-27T00:00:00.000Z","modified":"2025-07-28T15:03:56.004Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":3.2,"severity":"low","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Crates.io","score":3.2,"severity":"low","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N","exploitability":3.6,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00766,"percentile":0.54966,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":-0.01399999999999995,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.0078},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0078,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0078,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0078,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0078,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0078,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0078,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0078,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0078,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0078,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0078,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0078,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0078,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0078,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0078,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0078,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0078,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0078,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0078,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0078,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0078,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0078,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0078,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0078,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0078,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0078,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0078,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0078,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0078,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0078,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00766,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00766,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00766,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00766,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00766,"percentile":0.54966}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.0078,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0078,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0078,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0078,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0078,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0078,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0078,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0078,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0078,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0078,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0078,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0078,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0078,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0078,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0078,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0078,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0078,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0078,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0078,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0078,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0078,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0078,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00766,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00766,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00766,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00766,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00766,"percentile":0.54966}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-116","name":"Improper Encoding or Escaping of Output","description":"The product prepares a structured message for communication with another component, but encoding or escaping of the data is either missing or done incorrectly. As a result, the intended structure of the message is not preserved.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/116.html"}],"affected":[{"vendor":"Crates.Io","product":"shlex","name":"shlex","label":"shlex","ecosystem":"Crates.Io","cpePart":null,"purl":"pkg:cargo/shlex","purlType":"cargo","versions":[{"text":"< 1.3.0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 0.0.0-0, < 1.3.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.3.0 | ≥ 0.0.0-0, < 1.3.0","eol":null,"hubHref":null},{"vendor":"comex","product":"shlex","name":"shlex","label":"shlex","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.2.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.2.1","eol":null,"hubHref":"/vendor/comex/shlex"},{"vendor":"debian","product":"rust-shlex","name":"rust-shlex","label":"rust-shlex","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/rust-shlex","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 1.3.0-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 1.3.0-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"rust-shlex","name":"rust-shlex","label":"rust-shlex","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/rust-shlex","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"opensuse","product":"rav1e&distro=openSUSE Leap 15.6","name":"rav1e","label":"rav1e&distro=openSUSE Leap 15.6","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/rav1e&distro=openSUSE Leap 15.6","purlType":"rpm","versions":[{"text":"< 0.6.6-150600.3.6.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.6.6-150600.3.6.1","eol":null,"hubHref":null},{"vendor":"suse","product":"rav1e&distro=SUSE Linux Enterprise Module for Basesystem 15 SP6","name":"rav1e","label":"rav1e&distro=SUSE Linux Enterprise Module for Basesystem 15 SP6","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/rav1e&distro=SUSE Linux Enterprise Module for Basesystem 15 SP6","purlType":"rpm","versions":[{"text":"< 0.6.6-150600.3.6.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.6.6-150600.3.6.1","eol":null,"hubHref":null},{"vendor":"suse","product":"rav1e&distro=SUSE Linux Enterprise Module for Basesystem 15 SP7","name":"rav1e","label":"rav1e&distro=SUSE Linux Enterprise Module for Basesystem 15 SP7","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/rav1e&distro=SUSE Linux Enterprise Module for Basesystem 15 SP7","purlType":"rpm","versions":[{"text":"< 0.6.6-150600.3.6.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.6.6-150600.3.6.1","eol":null,"hubHref":null}],"affectedCount":7,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2024-0006.html","label":"rustsec.org/advisories/RUSTSEC-2024-0006.html","hostname":"rustsec.org","tags":["REPORT","WEB","Advisory","Third Party Advisory"]},{"url":"https://github.com/comex/rust-shlex/security/advisories/GHSA-r7qv-8r2h-pg27","label":"github.com/comex/rust-shlex/security/advisories/GHSA-r7qv-8r2h-pg27","hostname":"github.com","tags":["REPORT","WEB","Vendor Advisory"]},{"url":"https://crates.io/crates/shlex","label":"crates.io/crates/shlex","hostname":"crates.io","tags":["REPORT","PACKAGE","Product"]},{"url":"https://www.suse.com/support/update/announcement/2025/suse-su-202503077-1/","label":"www.suse.com/support/update/announcement/2025/suse-su-202503077-1/","hostname":"www.suse.com","tags":["Advisory"]},{"url":"https://bugzilla.suse.com/1230028","label":"bugzilla.suse.com/1230028","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://bugzilla.suse.com/1247207","label":"bugzilla.suse.com/1247207","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://www.suse.com/security/cve/CVE-2024-58266","label":"www.suse.com/security/cve/CVE-2024-58266","hostname":"www.suse.com","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2024-58266","label":"ubuntu.com/security/CVE-2024-58266","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-58266","label":"www.cve.org/CVERecord?id=CVE-2024-58266","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2024-58266","label":"security-tracker.debian.org/tracker/CVE-2024-58266","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-58266","label":"nvd.nist.gov/vuln/detail/CVE-2024-58266","hostname":"nvd.nist.gov","tags":["Advisory","Oval"]},{"url":"https://github.com/comex/rust-shlex","label":"github.com/comex/rust-shlex","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/comex/rust-shlex/commit/4a0724b0b62ef715467875b040a890ce75a8a829","label":"github.com/comex/rust-shlex/commit/4a0724b0b62ef715467875b040a890ce75a8a829","hostname":"github.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2025:15433-1","SUSE-SU-2025:20717-1","SUSE-SU-2025:20858-1"],"duplicates":[],"related":["OPENSUSE-SU-2025:15433-1","SUSE-SU-2025:20717-1","SUSE-SU-2025:20858-1"]},"timeline":[{"kind":"published","date":"2025-07-27T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-07-28T15:03:56.004Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T02:22:44.311Z","stale":false,"partial":false}}