Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

The shlex crate before 1.2.1 for Rust allows unquoted and unescaped instances of the { and \xa0 characters, which may facilitate command injection.

0
Medium
Published: Wed Jul 02 2025 (07/02/2025, 00:00:00 UTC)
Source: GCVE Database
Vendor/Project: Microsoft Security Response Center
Product: Microsoft

Description

CVE-2024-58266 is a vulnerability in the shlex crate before version 1. 2. 1 for Rust, where unquoted and unescaped instances of the { and \xa0 characters may facilitate command injection. This affects certain Microsoft products including Azure Linux and CBL Mariner versions 2. 0 and 3. 0. There is no CVSS score available for this vulnerability. No known exploits in the wild have been reported. Patch status is not confirmed as no patch links or vendor advisory details about remediation are provided.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/03/2026, 21:18:37 UTC

Technical Analysis

The vulnerability identified as CVE-2024-58266 concerns the shlex crate used in Rust programming, specifically versions before 1.2.1. It allows unquoted and unescaped occurrences of the { and non-breaking space (\xa0) characters, which may enable command injection attacks. Affected products include Microsoft Azure Linux and CBL Mariner versions 2.0 and 3.0. The vulnerability is categorized under CWE-116 (Improper Encoding or Escaping of Output). There is no CVSS score or detailed vendor advisory available, and no patch information has been provided.

Potential Impact

The vulnerability could potentially allow command injection due to improper handling of certain characters in the shlex crate. This may lead to unauthorized command execution in affected environments. However, no known exploits have been reported in the wild, and the exact impact depends on the context in which the vulnerable crate is used within the affected Microsoft products.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official patch or workaround information is provided, users should monitor Microsoft Security Response Center advisories for updates. Avoid using vulnerable versions of the shlex crate where possible until a fix is confirmed.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Csaf Category
csaf_vex
Csaf Version
2.0
Publisher
Microsoft Security Response Center
Advisory Id
msrc_CVE-2024-58266
Cve Count
1
Additional Cves
[]
Cvss Version
null

Threat ID: 6a20984ae29bf47b50ebec6d

Added to database: 6/3/2026, 9:10:34 PM

Last enriched: 6/3/2026, 9:18:37 PM

Last updated: 6/4/2026, 5:33:02 AM

Views: 8

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses