Improper output encoding in comex shlex
Priority MEDIUM 43CWE-116Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 7 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat.
Summary
The shlex crate before 1.2.1 for Rust allows unquoted and unescaped instances of the { and \xa0 characters, which may facilitate command injection.
Why it matters now
Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00778 56th percentileScored 2026-11-07
Fix Partial shlex (comex): 1.2.1shlex (crates.io): 1.3.0Red Hat: 7 without a fix
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| comex | shlex | before 1.2.1 | 1.2.1 | Patch available | CNA |
| — | shlex (crates.io) | before 1.3.0 | 1.3.0 | Patch available | GHSA-r7qv-8r2h-pg27 |
- shlex Vendorcomex Affected before 1.2.1 Fixed in 1.2.1 Patch available CNA
- shlex (crates.io) Vendor— Affected before 1.3.0 Fixed in 1.3.0 Patch available GHSA-r7qv-8r2h-pg27
Remediation
- Fix · CNA shlex (comex) Fixed in 1.2.1
- Fix · GHSA-r7qv-8r2h-pg27 shlex (crates.io) Fixed in 1.3.0 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Logging Subsystem for Red Hat OpenShift | Affected | No fix yet: Fix deferred |
| OpenShift Service Mesh 3 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 10 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 7 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 8 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 9 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet: Fix deferred |
Not affected: 12 products
- Confidential Compute Attestation
- Red Hat Directory Server 11
- Red Hat Discovery 2
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat Offline Knowledge Portal
- Red Hat OpenShift Container Platform 4
- Red Hat Satellite 6
- Red Hat Trusted Artifact Signer
- Red Hat Trusted Profile Analyzer
Timeline
- 2026-10-02 Threatist record created from CVE-2024-58266
- 2026-10-03 Alias added: GHSA-r7qv-8r2h-pg27
References
Sources
- CVE-2024-58266 · CVE Program
- CVE-2024-58266 · NVD
- FIRST EPSS
- GHSA-r7qv-8r2h-pg27 · GitHub Advisory Database · CC BY 4.0
- CVE-2024-58266 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences