CVSS 3.1
9.8 criticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HCritical (9.8) in shell-quote project shell-quote. EPSS 4.1% estimated probability of exploitation activity in the next 30 days. Fixed in shell-quote 1.7.3.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:Hshell-quote (npm): fixed in 1.7.3Explain CVE-2021-42740 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-42740?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-42740?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-42740 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| shell-quote_project:shell-quote | before 1.7.3 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-g4rg-993r-mgx7 | npm | shell-quote | >=1.6.3 <1.7.3 | 1.7.3 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13, 14 | node-shell-quote | 1.7.3+~1.7.1-1 | DEBIAN-CVE-2021-42740 |
| Ubuntu | Pro:18.04:LTS | node-shell-quote | no fix listed | UBUNTU-CVE-2021-42740 |
| SUSE | Manager Proxy 4.2, Manager Retail Branch Server 4.2 | release-notes-susemanager-proxy | 4.2.9-150300.3.43.1 | SUSE-SU-2022:3313-1 |
| SUSE | Manager Proxy 4.3, Manager Retail Branch Server 4.3 | release-notes-susemanager-proxy | 4.3.2-150400.3.9.3 | SUSE-SU-2022:3761-1 |
| SUSE | Manager Proxy Module 4.2 | mgr-daemon | 4.2.10-150300.2.9.4 | SUSE-SU-2022:3314-1 |
| SUSE | Manager Proxy Module 4.2 | spacewalk-proxy | 4.2.12-150300.3.21.3 | SUSE-SU-2022:3314-1 |
| SUSE | Manager Proxy Module 4.2 | spacewalk-proxy | 4.2.13-150300.3.24.2 | SUSE-SU-2023:0592-1 |
| SUSE | Manager Proxy Module 4.2 | spacewalk-proxy-installer | 4.2.11-150300.3.14.2 | SUSE-SU-2023:0592-1 |
| SUSE | Manager Proxy Module 4.2 | susemanager-tftpsync-recv | 4.2.5-150300.3.6.2 | SUSE-SU-2022:3314-1 |
| SUSE | Manager Proxy Module 4.2, Manager Server Module 4.2 | mgr-osad | 4.2.9-150300.2.12.2 | SUSE-SU-2023:0592-1 |
| SUSE | Manager Proxy Module 4.2, Manager Server Module 4.2 | patterns-suse-manager | 4.2-150300.4.12.2 | SUSE-SU-2022:3314-1 |
| SUSE | Manager Proxy Module 4.2, Manager Server Module 4.2 | rhnlib | 4.2.7-150300.4.12.2 | SUSE-SU-2023:0592-1 |
| SUSE | Manager Proxy Module 4.2, Manager Server Module 4.2 | spacecmd | 4.2.19-150300.4.27.2 | SUSE-SU-2022:3314-1 |
| SUSE | Manager Proxy Module 4.2, Manager Server Module 4.2 | spacecmd | 4.2.21-150300.4.33.2 | SUSE-SU-2023:0592-1 |
| 49 more for SUSE in the JSON and on SUSE's page. | ||||
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.