Vulnerability in Npmjs Hosted-Git-Info

CVE-2021-23362

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.

Vulnerability class: ReDoS (Regular Expression Denial of Service)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.

EPSS exploit prediction

EPSS: 0.036 (89.1th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 89th percentile — 89.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2021-23362: held from 0.036 to 0.036.

EPSS over last 30 days · oldest: 0.036 · newest: 0.036 · change: 0.000

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2021-23362?
CVE-2021-23362 is a medium-severity vulnerability in Npmjs Hosted-Git-Info, classified under Inefficient Regular Expression Complexity. CVSS score: 5.3/10. Published 2021-03-23.
How severe is CVE-2021-23362?
Medium severity. CVSS v3 base score is 5.3 out of 10.
Is CVE-2021-23362 known to be exploited?
4 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.