5.3

CVE-2021-23362: Regular Expression Denial of Service (ReDoS)

Modified
AliasesUBUNTU-CVE-2021-23362USN-5216-1DEBIAN-CVE-2021-23362
Published 23-03-2021Last modified 17-09-2024

Vulnerability summary

CVE-2021-23362 is a medium (CVSS 5.3) vulnerability in npmjs hosted-git-info. EPSS estimates a 3.61% chance of exploitation in the next 30 days, higher than 89.5% of scored vulnerabilities. 2 public exploits are recorded.

Priority
Routine

Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.3/10
010
Medium · v3.1 (CVE.org)
EPSS score
3.61%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits2reference

Advisory lineage

Upstream 0 · Downstream 23 · Related 16

Timeline

  1. 23-03-2021
    PublishedVulnerability first disclosed.
  2. 17-09-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

6 scores · 5 sources · 2 versions

EPSS trend

Probability

3.61%

Chance of exploitation in the next 30 days

Percentile

90%

Versus all other CVEs

30-day change

No change 0.00 pp

From 3.61% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

2 found
  • referenceUnverified

    Exploit Reference (snyk.io)

    Maturity: unknown

  • referenceUnverified

    Exploit Reference (snyk.io)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Debian1 product
  • node-hosted-git-info< 3.0.8-1
Npm1 product
  • hosted-git-info< 2.8.9 | ≥ 3.0.0, < 3.0.8
Npmjs1 product
Siemens1 product
Ubuntu1 product
  • node-hosted-git-info< 2.5.0-1ubuntu0.1~esm1 | < 2.8.5-1ubuntu0.1~esm1

5 vendors · 5 products

References

14 links
Show all 14 references