{"id":"EUVD-2022-3886","revision":"01351b5e311b4767b8cc724e11caa34b","records":[{"revision":"01351b5e311b4767b8cc724e11caa34b","observedAt":"2026-11-03T21:01:00.104+00:00","statement":{"source":"euvd","id":"EUVD-2022-3886","aliases":["CVE-2021-42740","GHSA-g4rg-993r-mgx7"],"title":"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 sh…","description":"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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[],"references":["https://www.npmjs.com/package/shell-quote","https://github.com/substack/node-shell-quote/blob/master/CHANGELOG.md#173","https://github.com/substack/node-shell-quote/commit/5799416ed454aa4ec9afafc895b4e31760ea1abe"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-3886","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Oct 21, 2021, 2:46:08 PM","dateUpdated":"Aug 4, 2024, 3:38:50 AM"},"relatedAdvisories":[{"id":"SUSE-SU-2022:3313-1","title":"Security update for release-notes-susemanager, release-notes-susemanager-proxy","vulnerabilityIds":["CVE-2021-41411","CVE-2021-42740","CVE-2021-43138","CVE-2022-31129"]},{"id":"SUSE-SU-2022:3314-1","title":"Security update for SUSE Manager Server 4.2","vulnerabilityIds":["CVE-2021-41411","CVE-2021-42740","CVE-2021-43138","CVE-2022-31129"]},{"id":"SUSE-SU-2022:3761-1","title":"Security update for release-notes-susemanager, release-notes-susemanager-proxy","vulnerabilityIds":["CVE-2021-41411","CVE-2021-42740","CVE-2021-43138","CVE-2022-0860","CVE-2022-31129"]},{"id":"WID-SEC-W-2022-1476","title":"SUSE Manager: Mehrere Schwachstellen","vulnerabilityIds":["CVE-2021-41411","CVE-2021-42740","CVE-2021-43138","CVE-2022-31129"]},{"id":"WID-SEC-W-2023-0809","title":"IBM QRadar SIEM: Mehrere Schwachstellen","vulnerabilityIds":["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"]},{"id":"SUSE-SU-2023:0592-1","title":"Security update for SUSE Manager Server 4.2","vulnerabilityIds":["CVE-2021-42740","CVE-2022-0860","CVE-2022-1415","CVE-2022-31129","CVE-2022-40152"]}],"note":"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."},"key":"euvd:EUVD-2022-3886","identifiers":["EUVD-2022-3886","CVE-2021-42740","GHSA-g4rg-993r-mgx7"]},"retained":false,"historicalAffected":[]}],"coverage":[]}