n/a · command injection
cve-program · CVE-2021-42740
PublishedThe shell-quote package before 1.7.3 for Node.js allows command injection. An attacker can inject unescaped shell metacharacters through a regex designed to support Windows drive letters. If the output of this package is passed to a real shell as a quoted argument to a command with exec(), an attacker can inject arbitrary commands. This is because the Windows drive letter regex character class is {A-z] instead of the correct {A-Za-z]. Several shell metacharacters exist in the space between capital letter Z and lower case letter a, such as the backtick character.
Read the publisher's advisoryeuvd · EUVD-2022-3886
PublishedThe shell-quote package before 1.7.3 for Node.js allows command injection. An attacker can inject unescaped shell metacharacters through a regex designed to support Windows drive letters. If the output of this package is passed to a real shell as a quoted argument to a command with exec(), an attacker can inject arbitrary commands. This is because the Windows drive letter regex character class is {A-z] instead of the correct {A-Za-z]. Several shell metacharacters exist in the space between capital letter Z and lower case letter a, such as the backtick character.
Read the publisher's advisorynvd · CVE-2021-42740
PublishedThe shell-quote package before 1.7.3 for Node.js allows command injection. An attacker can inject unescaped shell metacharacters through a regex designed to support Windows drive letters. If the output of this package is passed to a real shell as a quoted argument to a command with exec(), an attacker can inject arbitrary commands. This is because the Windows drive letter regex character class is {A-z] instead of the correct {A-Za-z]. Several shell metacharacters exist in the space between capital letter Z and lower case letter a, such as the backtick character.
Read the publisher's advisoryosv · GHSA-g4rg-993r-mgx7
PublishedThe shell-quote package before 1.7.3 for Node.js allows command injection. An attacker can inject unescaped shell metacharacters through a regex designed to support Windows drive letters. If the output of this package is passed to a real shell as a quoted argument to a command with `exec()`, an attacker can inject arbitrary commands. This is because the Windows drive letter regex character class is `[A-z]` instead of the correct `[A-Za-z]`. Several shell metacharacters exist in the space between capital letter Z and lower case letter a, such as the backtick character.
Read the publisher's advisoryAffected versions, risk and source history
Exploitation and risk
Source statusCISA KEV lists vulnerabilities known to be exploited. FIRST EPSS estimates the likelihood of exploitation in the next 30 days. An unavailable score does not mean zero risk.
Which CVEs have scores here?
This view includes predictions for CVE identifiers explicitly listed in public NuGet advisories. Microsoft release pages have their own prediction coverage. Check source status for the scope and latest checks.
No exploitation or prediction data is available here for these CVEs. This does not mean they are safe or unlikely to be exploited.
cve-program · CVE-2021-42740
PublishedThe shell-quote package before 1.7.3 for Node.js allows command injection. An attacker can inject unescaped shell metacharacters through a regex designed to support Windows drive letters. If the output of this package is passed to a real sh…
The shell-quote package before 1.7.3 for Node.js allows command injection. An attacker can inject unescaped shell metacharacters through a regex designed to support Windows drive letters. If the output of this package is passed to a real shell as a quoted argument to a command with exec(), an attacker can inject arbitrary commands. This is because the Windows drive letter regex character class is {A-z] instead of the correct {A-Za-z]. Several shell metacharacters exist in the space between capital letter Z and lower case letter a, such as the backtick character.
- Source published
- 21 Oct 2021 14:46:08 UTC
- Source modified
- 4 Aug 2024 03:38:50 UTC
- Saved here
- 23 Oct 2026 15:48:27 UTC
- Source terms
- CVE Program Terms of Use
Original source record · Cite this exact observation · Complete original publisher JSON
Source: cve-program · CVE Program Terms of Use. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
euvd · EUVD-2022-3886
PublishedThe shell-quote package before 1.7.3 for Node.js allows command injection. An attacker can inject unescaped shell metacharacters through a regex designed to support Windows drive letters. If the output of this package is passed to a real sh…
The shell-quote package before 1.7.3 for Node.js allows command injection. An attacker can inject unescaped shell metacharacters through a regex designed to support Windows drive letters. If the output of this package is passed to a real shell as a quoted argument to a command with exec(), an attacker can inject arbitrary commands. This is because the Windows drive letter regex character class is {A-z] instead of the correct {A-Za-z]. Several shell metacharacters exist in the space between capital letter Z and lower case letter a, such as the backtick character.
Additional publisher context
EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON.
Original publisher date fields
datePublished: Oct 21, 2021, 2:46:08 PM
dateUpdated: Aug 4, 2024, 3:38:50 AM
6 related source bulletins · separate from aliases
SUSE-SU-2022:3313-1: Security update for release-notes-susemanager, release-notes-susemanager-proxy
CVE-2021-41411 · CVE-2021-42740 · CVE-2021-43138 · CVE-2022-31129
SUSE-SU-2022:3314-1: Security update for SUSE Manager Server 4.2
CVE-2021-41411 · CVE-2021-42740 · CVE-2021-43138 · CVE-2022-31129
SUSE-SU-2022:3761-1: Security update for release-notes-susemanager, release-notes-susemanager-proxy
CVE-2021-41411 · CVE-2021-42740 · CVE-2021-43138 · CVE-2022-0860 · CVE-2022-31129
WID-SEC-W-2022-1476: SUSE Manager: Mehrere Schwachstellen
CVE-2021-41411 · CVE-2021-42740 · CVE-2021-43138 · CVE-2022-31129
WID-SEC-W-2023-0809: IBM QRadar SIEM: Mehrere Schwachstellen
CVE-2023-22809 · CVE-2022-4883 · CVE-2022-46364 · CVE-2022-46363 · CVE-2022-45143 · CVE-2022-42890 · CVE-2022-4254 · CVE-2022-42252 · CVE-2022-41966 · CVE-2022-41946 · CVE-2022-41704 · CVE-2022-40156 · CVE-2022-40155 · CVE-2022-40154 · CVE-2022-40153 · CVE-2022-40152 · CVE-2022-40150 · CVE-2022-40149 · CVE-2022-37603 · CVE-2022-37601 · CVE-2022-37599 · CVE-2022-37598 · CVE-2022-3676 · CVE-2022-36364 · CVE-2022-36033 · CVE-2022-34917 · CVE-2022-31197 · CVE-2022-31129 · CVE-2022-2964 · CVE-2022-28733 · CVE-2022-2795 · CVE-2022-25927 · CVE-2022-25901 · CVE-2022-25758 · CVE-2022-25647 · CVE-2022-24999 · CVE-2022-24839 · CVE-2022-24823 · CVE-2022-24785 · CVE-2022-23437 · CVE-2022-22971 · CVE-2022-22970 · CVE-2022-21724 · CVE-2022-21628 · CVE-2022-21626 · CVE-2022-21624 · CVE-2022-21619 · CVE-2021-43797 · CVE-2021-42740 · CVE-2021-42581 · CVE-2021-39227 · CVE-2021-3918 · CVE-2021-3807 · CVE-2021-37713 · CVE-2021-37712 · CVE-2021-37701 · CVE-2021-3765 · CVE-2021-37137 · CVE-2021-37136 · CVE-2021-32804 · CVE-2021-32803 · CVE-2021-29060 · CVE-2021-26401 · CVE-2021-25220 · CVE-2021-23450 · CVE-2021-23382 · CVE-2021-23368 · CVE-2021-23364 · CVE-2021-23362 · CVE-2021-23343 · CVE-2021-21409 · CVE-2021-21295 · CVE-2021-21290 · CVE-2020-7764 · CVE-2020-5259 · CVE-2020-24025 · CVE-2020-15366 · CVE-2020-13936 · CVE-2019-6286 · CVE-2019-6284 · CVE-2019-6283 · CVE-2019-10785 · CVE-2018-8036 · CVE-2018-20821 · CVE-2018-20190 · CVE-2018-19839 · CVE-2018-19838 · CVE-2018-19827 · CVE-2018-19797 · CVE-2018-15494 · CVE-2018-11698 · CVE-2018-11694
SUSE-SU-2023:0592-1: Security update for SUSE Manager Server 4.2
CVE-2021-42740 · CVE-2022-0860 · CVE-2022-1415 · CVE-2022-31129 · CVE-2022-40152
- Source published
- Oct 21, 2021, 2:46:08 PM (timezone not stated)
- Source modified
- Aug 4, 2024, 3:38:50 AM (timezone not stated)
- Saved here
- 18 Nov 2026 01:44:22 UTC
- Source terms
- ENISA EUVD · source terms and attribution apply
Original source record · Cite this exact observation · Complete original publisher JSON
Source: euvd · ENISA EUVD · source terms and attribution apply. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
nvd · CVE-2021-42740
PublishedThe shell-quote package before 1.7.3 for Node.js allows command injection. An attacker can inject unescaped shell metacharacters through a regex designed to support Windows drive letters. If the output of this package is passed to a real sh…
The shell-quote package before 1.7.3 for Node.js allows command injection. An attacker can inject unescaped shell metacharacters through a regex designed to support Windows drive letters. If the output of this package is passed to a real shell as a quoted argument to a command with exec(), an attacker can inject arbitrary commands. This is because the Windows drive letter regex character class is {A-z] instead of the correct {A-Za-z]. Several shell metacharacters exist in the space between capital letter Z and lower case letter a, such as the backtick character.
Additional publisher context
NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Modified
Weakness classifications: CWE-77
Original publisher date fields
published: 2021-10-21T15:15:07.633
lastModified: 2026-06-17T04:10:03.200
1 source CPE criteria · context only
- cpe:2.3:a:shell-quote_project:shell-quote:*:*:*:*:*:node.js:*:*
The original JSON retains the logical configuration operators, exclusions and version bounds.
- Source published
- 21 Oct 2021 15:15:07 UTC
- Source modified
- 17 Jun 2026 04:10:03 UTC
- Saved here
- 24 Oct 2026 19:17:31 UTC
- Source terms
- NIST NVD usage terms; underlying source attribution retained
Original source record · Cite this exact observation · Complete original publisher JSON
Source: nvd · NIST NVD usage terms; underlying source attribution retained. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
CVSS 3.1 · [email protected] · Primary · 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0 · [email protected] · Primary · 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P
osv · GHSA-g4rg-993r-mgx7
PublishedImproper Neutralization of Special Elements used in a Command in Shell-quote
The shell-quote package before 1.7.3 for Node.js allows command injection. An attacker can inject unescaped shell metacharacters through a regex designed to support Windows drive letters. If the output of this package is passed to a real shell as a quoted argument to a command with `exec()`, an attacker can inject arbitrary commands. This is because the Windows drive letter regex character class is `[A-z]` instead of the correct `[A-Za-z]`. Several shell metacharacters exist in the space between capital letter Z and lower case letter a, such as the backtick character.
- Source published
- 24 May 2022 19:18:27 UTC
- Source modified
- 10 Sep 2026 03:49:38 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- GitHub Advisory Database · CC-BY-4.0
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · GitHub Advisory Database · CC-BY-4.0. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
CVSS_V3 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher rating · CRITICAL