Regular Expression Denial of Service in hosted-git-info
The npm 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
01
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2021-23362US | medium5.3 | — | ||
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. Th… | ||||
02
references
External citations — patches, advisories, analysis.
- https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdfWEB
- https://github.com/npm/hosted-git-infoPACKAGE
- https://github.com/npm/hosted-git-info/commit/29adfe5ef789784c861b2cdeb15051ec2ba651a7WEB
- https://github.com/npm/hosted-git-info/commit/8d4b3697d79bcd89cdb36d1db165e3696c783a01WEB
- https://github.com/npm/hosted-git-info/commit/bede0dc38e1785e732bf0a48ba6f81a4a908eba3WEB
- https://github.com/npm/hosted-git-info/commits/v2WEB
- https://github.com/npm/hosted-git-info/pull/76WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-23362ADVISORY
scry
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan