CVE-2021-24033
CVSS V2 Medium 6.8
CVSS V3 Medium 5.6
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.
Overview
- CVE ID
- CVE-2021-24033
- Assigner
- cve-assign@fb.com
- Vulnerability Status
- Analyzed
- Published Version
- 2021-03-09T01:15:13
- Last Modified Date
- 2021-03-16T18:34:51
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:facebook:react-dev-utils:*:*:*:*:*:*:*:* | 1 | OR | 11.0.4 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:M/Au:N/C:P/I:P/A:P
- Access Vector
- NETWORK
- Access Compatibility
- MEDIUM
- Authentication
- NONE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- PARTIAL
- Availability Impact
- PARTIAL
- Base Score
- 6.8
- Severity
- MEDIUM
- Exploitability Score
- 8.6
- Impact Score
- 6.4
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
- Attack Vector
- NETWORK
- Attack Compatibility
- HIGH
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- LOW
- Availability Impact
- LOW
- Base Score
- 5.6
- Base Severity
- MEDIUM
- Exploitability Score
- 2.2
- Impact Score
- 3.4
References
Reference URL | Reference Tags |
---|---|
https://www.facebook.com/security/advisories/cve-2021-24033 | Vendor Advisory |
https://github.com/facebook/create-react-app/pull/10644 | Exploit Patch Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-24033 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-24033 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 07:19:41 | Added to TrackCVE | |||
2022-12-05 23:17:27 | 2021-03-09T01:15Z | 2021-03-09T01:15:13 | CVE Published Date | updated |
2022-12-05 23:17:27 | 2021-03-16T18:34:51 | CVE Modified Date | updated | |
2022-12-05 23:17:27 | Analyzed | Vulnerability Status | updated |