Facebook react-dev-utils
At a glance
- Source
- NVD
- EPSS
- EPSS 3.29 % · percentile 88 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- NVD status
- Modified
Description
react-dev-utils prior to v11.0.4 exposes a function, getProcessForPort, where an input argument is concatenated into a command string to be executed. This function is typically used from react-scripts (in Create React App projects), where the usage is safe. Only when this function is manually invoked with user-provided values (ie: by custom code) is there the potential for command injection. If you're consuming it from react-scripts then this issue does not affect you.
Weaknesses (CWE)
- CWE-78 — Improper Neutralization of Special Elements used in an OS Command
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 5.6 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L | NVD · nvd@nist.gov (Primary) |
| CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P | NVD · nvd@nist.gov (Primary) |
Advisories
- GHSA-5q6m-3h65-w53x — react-dev-utils OS Command Injection in function `getProcessForPort`
European references
- ENISA EUVD · EUVD-2021-0612
- GCVE · GCVE-0-2021-24033
CERT-FR advisories
- CERTFR-2024-AVI-0630 — Multiples vulnérabilités dans IBM QRadar · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:a:facebook:react-dev-utils:*:*:*:*:*:*:*:*< 11.0.4
Affected products
| Product | Versions |
|---|---|
| Facebook · react-dev-utils | unaffected 11.0.4 < unspecified ; affected unspecified < 11.0.4 |
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 |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| 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 |