CVE-2021-23362

MEDIUMCVSS 5.3/10EPSS 3.61%

Last modified

CVE-2021-23362 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. 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.. EPSS estimates a 3.61% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
5.3/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

EPSS Probability
3.61%

88.0th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
NpmjsHosted-Git-Info>= 2.0.0, < 2.8.9
NpmjsHosted-Git-Info>= 3.0.0, < 3.0.8
SiemensSinec Infrastructure Network Services< 1.0.1.1

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is 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.
How severe is CVE-2021-23362?
CVE-2021-23362 has a CVSS score of 5.3/10 (MEDIUM severity). The EPSS model estimates a 3.61% probability of exploitation in the next 30 days.
How do I fix CVE-2021-23362?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2021-23362?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST