HackerOne shell-quote node module
At a glance
- Source
- NVD
- EPSS
- EPSS 2.22 % Β· percentile 83 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- hackerone
- NVD status
- Modified
Description
The npm module "shell-quote" 1.6.0 and earlier cannot correctly escape ">" and "<" operator used for redirection in shell. Applications that depend on shell-quote may also be vulnerable. A malicious user could perform code injection.
Weaknesses (CWE)
- CWE-78 β Improper Neutralization of Special Elements used in an OS Command
- CWE-94 β Improper Control of Generation of Code
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD Β· nvd@nist.gov (Primary) |
| CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P | NVD Β· nvd@nist.gov (Primary) |
Advisories
- GHSA-qg8p-v9q4-gh34 β Potential Command Injection in shell-quote
European references
- ENISA EUVD Β· EUVD-2019-0328
- GCVE Β· GCVE-0-2016-10541
Affected configurations (NVD CPE)
cpe:2.3:a:shell-quote_project:shell-quote:*:*:*:*:*:node.js:*:*< 1.6.1
Affected products
| Product | Versions |
|---|---|
| HackerOne Β· shell-quote node module | affected <=1.6.0 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST β attribution requested |
| ENISA EUVD | ENISA β reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain β this product uses data from the NVD API but is not endorsed or certified by the NVD |