gsd-2021-43307
Vulnerability from gsd
Modified
2023-12-13 01:23
Details
An exponential ReDoS (Regular Expression Denial of Service) can be triggered in the semver-regex npm package, when an attacker is able to supply arbitrary input to the test() method
Aliases
Aliases
{ "GSD": { "alias": "CVE-2021-43307", "description": "An exponential ReDoS (Regular Expression Denial of Service) can be triggered in the semver-regex npm package, when an attacker is able to supply arbitrary input to the test() method", "id": "GSD-2021-43307" }, "gsd": { "metadata": { "exploitCode": "unknown", "remediation": "unknown", "reportConfidence": "confirmed", "type": "vulnerability" }, "osvSchema": { "aliases": [ "CVE-2021-43307" ], "details": "An exponential ReDoS (Regular Expression Denial of Service) can be triggered in the semver-regex npm package, when an attacker is able to supply arbitrary input to the test() method", "id": "GSD-2021-43307", "modified": "2023-12-13T01:23:26.069971Z", "schema_version": "1.4.0" } }, "namespaces": { "cve.org": { "CVE_data_meta": { "AKA": "", "ASSIGNER": "security@jfrog.com", "DATE_PUBLIC": "2022-05-29T23:05:00.000Z", "ID": "CVE-2021-43307", "STATE": "PUBLIC", "TITLE": "Exponential ReDoS in semver-regex" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "semver-regex", "version": { "version_data": [ { "platform": "", "version_affected": "\u003c", "version_name": "", "version_value": "3.1.4" }, { "platform": "", "version_affected": "\u003c", "version_name": "", "version_value": "4.0.3" } ] } } ] }, "vendor_name": "semver-regex" } ] } }, "configuration": [], "credit": [ { "lang": "eng", "value": "Denys Vozniuk from JFrog Security Research" } ], "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", "value": "An exponential ReDoS (Regular Expression Denial of Service) can be triggered in the semver-regex npm package, when an attacker is able to supply arbitrary input to the test() method" } ] }, "exploit": [], "generator": { "engine": "Vulnogram 0.0.9" }, "impact": { "cvss": { "attackComplexity": "HIGH", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "baseScore": 5.9, "baseSeverity": "MEDIUM", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H", "version": "3.1" } }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "CWE-1333 Inefficient Regular Expression Complexity" } ] } ] }, "references": { "reference_data": [ { "name": "https://research.jfrog.com/vulnerabilities/semver-regex-redos-xray-211349/", "refsource": "MISC", "url": "https://research.jfrog.com/vulnerabilities/semver-regex-redos-xray-211349/" } ] }, "solution": [], "source": { "advisory": "", "defect": [], "discovery": "EXTERNAL" }, "work_around": [] }, "gitlab.com": { "advisories": [ { "affected_range": "\u003c3.1.4||\u003e=4.0.0 \u003c4.0.3", "affected_versions": "All versions before 3.1.4, all versions starting from 4.0.0 before 4.0.3", "cvss_v2": "AV:N/AC:L/Au:N/C:N/I:N/A:P", "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H", "cwe_ids": [ "CWE-1035", "CWE-1333", "CWE-937" ], "date": "2023-07-18", "description": "An exponential ReDoS (Regular Expression Denial of Service) can be triggered in the semver-regex npm package, when an attacker is able to supply arbitrary input to the test() method", "fixed_versions": [ "3.1.4", "4.0.3" ], "identifier": "CVE-2021-43307", "identifiers": [ "CVE-2021-43307", "GHSA-4x5v-gmq8-25ch" ], "not_impacted": "All versions starting from 3.1.4 before 4.0.0, all versions starting from 4.0.3", "package_slug": "npm/semver-regex", "pubdate": "2022-06-02", "solution": "Upgrade to versions 3.1.4, 4.0.3 or above.", "title": "Regular expression denial of service in semver-regex", "urls": [ "https://nvd.nist.gov/vuln/detail/CVE-2021-43307", "https://research.jfrog.com/vulnerabilities/semver-regex-redos-xray-211349/", "https://github.com/sindresorhus/semver-regex/commit/d8ba39a528c1027c43ab23f12eec28ca4d40dd0c", "https://github.com/advisories/GHSA-4x5v-gmq8-25ch" ], "uuid": "bfa5877b-7b8e-4f47-8753-38a7cdbd1710" } ] }, "nvd.nist.gov": { "configurations": { "CVE_data_version": "4.0", "nodes": [ { "children": [], "cpe_match": [ { "cpe23Uri": "cpe:2.3:a:semver-regex_project:semver-regex:*:*:*:*:*:*:*:*", "cpe_name": [], "versionEndExcluding": "3.1.4", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:semver-regex_project:semver-regex:*:*:*:*:*:*:*:*", "cpe_name": [], "versionEndExcluding": "4.0.3", "versionStartIncluding": "4.0.0", "vulnerable": true } ], "operator": "OR" } ] }, "cve": { "CVE_data_meta": { "ASSIGNER": "security@jfrog.com", "ID": "CVE-2021-43307" }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "en", "value": "An exponential ReDoS (Regular Expression Denial of Service) can be triggered in the semver-regex npm package, when an attacker is able to supply arbitrary input to the test() method" } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "en", "value": "CWE-1333" } ] } ] }, "references": { "reference_data": [ { "name": "https://research.jfrog.com/vulnerabilities/semver-regex-redos-xray-211349/", "refsource": "MISC", "tags": [ "Exploit", "Third Party Advisory" ], "url": "https://research.jfrog.com/vulnerabilities/semver-regex-redos-xray-211349/" } ] } }, "impact": { "baseMetricV2": { "acInsufInfo": false, "cvssV2": { "accessComplexity": "LOW", "accessVector": "NETWORK", "authentication": "NONE", "availabilityImpact": "PARTIAL", "baseScore": 5.0, "confidentialityImpact": "NONE", "integrityImpact": "NONE", "vectorString": "AV:N/AC:L/Au:N/C:N/I:N/A:P", "version": "2.0" }, "exploitabilityScore": 10.0, "impactScore": 2.9, "obtainAllPrivilege": false, "obtainOtherPrivilege": false, "obtainUserPrivilege": false, "severity": "MEDIUM", "userInteractionRequired": false }, "baseMetricV3": { "cvssV3": { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "baseScore": 7.5, "baseSeverity": "HIGH", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H", "version": "3.1" }, "exploitabilityScore": 3.9, "impactScore": 3.6 } }, "lastModifiedDate": "2023-07-18T13:53Z", "publishedDate": "2022-06-02T14: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.
- 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.