CVE-2021-23362
CVSS V2 Medium 5
CVSS V3 Medium 5.3
Description
The package hosted-git-info before 3.0.8 are vulnerable to Regular Expression Denial of Service (ReDoS) via regular expression shortcutMatch in the fromUrl function in index.js. The affected regular expression exhibits polynomial worst-case time complexity.
Overview
- CVE ID
- CVE-2021-23362
- Assigner
- report@snyk.io
- Vulnerability Status
- Analyzed
- Published Version
- 2021-03-23T17:15:14
- Last Modified Date
- 2022-04-08T13:31:42
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:npmjs:hosted-git-info:*:*:*:*:*:*:*:* | 1 | OR | 2.0.0 | 2.8.9 |
cpe:2.3:a:npmjs:hosted-git-info:*:*:*:*:*:*:*:* | 1 | OR | 3.0.0 | 3.0.8 |
cpe:2.3:a:siemens:sinec_infrastructure_network_services:*:*:*:*:*:*:*:* | 1 | OR | 1.0.1.1 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:N/C:N/I:N/A:P
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- NONE
- Integrity Impact
- NONE
- Availability Impact
- PARTIAL
- Base Score
- 5
- Severity
- MEDIUM
- Exploitability Score
- 10
- Impact Score
- 2.9
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- NONE
- Availability Impact
- LOW
- Base Score
- 5.3
- Base Severity
- MEDIUM
- Exploitability Score
- 3.9
- Impact Score
- 1.4
References
Reference URL | Reference Tags |
---|---|
https://github.com/npm/hosted-git-info/commit/bede0dc38e1785e732bf0a48ba6f81a4a908eba3 | Patch Third Party Advisory |
https://snyk.io/vuln/SNYK-JS-HOSTEDGITINFO-1088355 | Exploit Patch Third Party Advisory |
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1088356 | Exploit Patch Third Party Advisory |
https://github.com/npm/hosted-git-info/commits/v2 | Patch Third Party Advisory |
https://github.com/npm/hosted-git-info/commit/29adfe5ef789784c861b2cdeb15051ec2ba651a7 | Patch Third Party Advisory |
https://github.com/npm/hosted-git-info/commit/8d4b3697d79bcd89cdb36d1db165e3696c783a01 | Patch Third Party Advisory |
https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf | Patch Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-23362 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23362 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 06:29:02 | Added to TrackCVE | |||
2022-12-06 00:15:11 | 2021-03-23T17:15Z | 2021-03-23T17:15:14 | CVE Published Date | updated |
2022-12-06 00:15:11 | 2022-04-08T13:31:42 | CVE Modified Date | updated | |
2022-12-06 00:15:11 | Analyzed | Vulnerability Status | updated |