01 Record
CVE-2022-31180
Insufficient escaping of whitespace in shescape
CriticalPUBLISHEDCNA: GitHub_M
CNA base score9.8 CVSS v3.xCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
02 Description
Insufficient escaping of whitespace in shescape
03 Exploitation and scoring
- Exploitation
- Public exploit code exists. CISA's assessment records a public proof of concept. That is not a report of exploitation in the wild.
- SSVC decision
- ExploitationpocPublic proof-of-concept exploit code exists. Not a report of exploitation in the wild.
- AutomatableyesAn attacker can reliably automate reconnaissance through exploitation, so this scales.
- Technical ImpacttotalSuccessful exploitation gives total control of the vulnerable component.
- EPSS probability
- 1.99% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 80.3% of scored records. A rank, not a probability.
- NVD base score
- 9.8 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- No Red Hat rating. Red Hat rates the CVEs that affect its products.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2022-08-01 19:15Z4 YR AGO
- Last updated
- 2025-04-22 17:46Z1 YR AGO
- Reserved
- 2022-05-18
- Assigning CNA
- GitHub_M
- Record state
- PUBLISHED
- Severity
- Critical (CVSS 9.8)
- CNA CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-74Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')Class
- Data version
- 5.1
- Document digest
- d51be899cc8d1b023775306288f87c2a04bfc49b1e6b382adc40891d657b0fd3
05 Affected products
VendorProductVersionsPlatforms
06 References
- github.comhttps://github.com/ericcornelissen/shescape/security/advisories/GHSA-44vr-rwwj-p88h
- github.comhttps://github.com/ericcornelissen/shescape/pull/322
- github.comhttps://github.com/ericcornelissen/shescape/pull/324
- github.comhttps://github.com/ericcornelissen/shescape/releases/tag/v1.5.7
- github.comhttps://github.com/ericcornelissen/shescape/releases/tag/v1.5.8