gsd-2021-24033
Vulnerability from gsd
Modified
2023-12-13 01:23
Details
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.
Aliases
Aliases
{ "GSD": { "alias": "CVE-2021-24033", "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\u0027re consuming it from react-scripts then this issue does not affect you.", "id": "GSD-2021-24033" }, "gsd": { "metadata": { "exploitCode": "unknown", "remediation": "unknown", "reportConfidence": "confirmed", "type": "vulnerability" }, "osvSchema": { "aliases": [ "CVE-2021-24033" ], "details": "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\u0027re consuming it from react-scripts then this issue does not affect you.", "id": "GSD-2021-24033", "modified": "2023-12-13T01:23:37.504634Z", "schema_version": "1.4.0" } }, "namespaces": { "cve.org": { "CVE_data_meta": { "ASSIGNER": "cve-assign@fb.com", "DATE_ASSIGNED": "2021-03-04", "ID": "CVE-2021-24033", "STATE": "PUBLIC" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "react-dev-utils", "version": { "version_data": [ { "version_affected": "!\u003e=", "version_value": "11.0.4 " }, { "version_affected": "\u003c", "version_value": "11.0.4" } ] } } ] }, "vendor_name": "Facebook" } ] } }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", "value": "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\u0027re consuming it from react-scripts then this issue does not affect you." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "Improper Neutralization of Special Elements used in an OS Command (CWE-78)" } ] } ] }, "references": { "reference_data": [ { "name": "https://github.com/facebook/create-react-app/pull/10644", "refsource": "MISC", "url": "https://github.com/facebook/create-react-app/pull/10644" }, { "name": "https://www.facebook.com/security/advisories/cve-2021-24033", "refsource": "CONFIRM", "url": "https://www.facebook.com/security/advisories/cve-2021-24033" } ] } }, "gitlab.com": { "advisories": [ { "affected_range": "\u003c11.0.4", "affected_versions": "All versions before 11.0.4", "cvss_v2": "AV:N/AC:M/Au:N/C:P/I:P/A:P", "cvss_v3": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L", "cwe_ids": [ "CWE-1035", "CWE-78", "CWE-937" ], "date": "2021-03-16", "description": "react-dev-utils exposes a function, `getProcessForPort`, where an input argument is concatenated into a command string to be executed.", "fixed_versions": [ "11.0.4" ], "identifier": "CVE-2021-24033", "identifiers": [ "CVE-2021-24033" ], "not_impacted": "All versions starting from 11.0.4", "package_slug": "npm/react-dev-utils", "pubdate": "2021-03-09", "solution": "Upgrade to version 11.0.4 or above.", "title": "OS Command Injection", "urls": [ "https://nvd.nist.gov/vuln/detail/CVE-2021-24033", "https://www.facebook.com/security/advisories/cve-2021-24033" ], "uuid": "30acb4e4-c9e3-4e9d-a8a4-1cf20c383c69" } ] }, "nvd.nist.gov": { "configurations": { "CVE_data_version": "4.0", "nodes": [ { "children": [], "cpe_match": [ { "cpe23Uri": "cpe:2.3:a:facebook:react-dev-utils:*:*:*:*:*:*:*:*", "cpe_name": [], "versionEndExcluding": "11.0.4", "vulnerable": true } ], "operator": "OR" } ] }, "cve": { "CVE_data_meta": { "ASSIGNER": "cve-assign@fb.com", "ID": "CVE-2021-24033" }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "en", "value": "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\u0027re consuming it from react-scripts then this issue does not affect you." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "en", "value": "CWE-78" } ] } ] }, "references": { "reference_data": [ { "name": "https://www.facebook.com/security/advisories/cve-2021-24033", "refsource": "CONFIRM", "tags": [ "Vendor Advisory" ], "url": "https://www.facebook.com/security/advisories/cve-2021-24033" }, { "name": "https://github.com/facebook/create-react-app/pull/10644", "refsource": "MISC", "tags": [ "Exploit", "Patch", "Third Party Advisory" ], "url": "https://github.com/facebook/create-react-app/pull/10644" } ] } }, "impact": { "baseMetricV2": { "acInsufInfo": false, "cvssV2": { "accessComplexity": "MEDIUM", "accessVector": "NETWORK", "authentication": "NONE", "availabilityImpact": "PARTIAL", "baseScore": 6.8, "confidentialityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "vectorString": "AV:N/AC:M/Au:N/C:P/I:P/A:P", "version": "2.0" }, "exploitabilityScore": 8.6, "impactScore": 6.4, "obtainAllPrivilege": false, "obtainOtherPrivilege": false, "obtainUserPrivilege": false, "severity": "MEDIUM", "userInteractionRequired": false }, "baseMetricV3": { "cvssV3": { "attackComplexity": "HIGH", "attackVector": "NETWORK", "availabilityImpact": "LOW", "baseScore": 5.6, "baseSeverity": "MEDIUM", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L", "version": "3.1" }, "exploitabilityScore": 2.2, "impactScore": 3.4 } }, "lastModifiedDate": "2021-03-16T18:34Z", "publishedDate": "2021-03-09T01:15Z" } } }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…