← Vulnerability feed

Vulnerability record · CVE-2021-23362 · published 23 March 2021

CVE-2021-23362: Npmjs hosted-git-info inefficient regular expression (redos) vulnerability

Npmjs · Hosted Git Info

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.

5.3 CVSS 3.1 Medium EPSS 3.6% · top 10.7% CWE-1333 · Inefficient regular expression (ReDoS)
5.3CVSS 3.1 base score, v2 5.0
3.6%EPSS exploitation probability, 30 days
NoNot in CISA KEV
2Affected product versions listed by NVD
14References, 4 tagged exploit
17 Jun 2026Last modified by NVD

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:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Affected products

2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2021-23362 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2020-27304Civetweb project civetweb relative path traversal vulnerabilityThe CivetWeb web library does not validate uploaded filepaths when running on an OS other than Windows, when using the built-in HTTP form-based file …EPSS 3.2%9.8CVE-2021-22930Nodejs node.js use after free vulnerabilityNode.js before 16.6.0, 14.17.4, and 12.22.4 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption…EPSS 36%9.8CVE-2021-22931Nodejs node.js improper input validation vulnerabilityNode.js before 16.6.0, 14.17.4, and 12.22.4 is vulnerable to Remote Code Execution, XSS, Application crashes due to missing input validation of host …EPSS 22%9.8CVE-2021-25216BIND GSS-TSIG SPNEGO Memory Corruption Enables Crash and Possible RCEBIND servers configured with GSS-TSIG (via tkey-gssapi-keytab or tkey-gssapi-credential) use an ISC SPNEGO implementation that mishandles input, caus…EPSS 82%analysed9.8CVE-2020-7774y18n prototype pollution via crafted inputThe y18n package before 3.2.2, 4.0.1 and 5.0.5 is vulnerable to prototype pollution. Because y18n is a widely used dependency for CLI localization, t…EPSS 69%analysed9.8CVE-2020-11656Sqlite use after free vulnerabilityIn SQLite through 3.31.1, the ALTER TABLE implementation has a use-after-free, as demonstrated by an ORDER BY clause that belongs to a compound SELEC…EPSS 8.7%9.8CVE-2019-19646Sqlite vulnerabilitypragma.c in SQLite through 3.30.1 mishandles NOT NULL in an integrity_check PRAGMA command in certain cases of generated columns.EPSS 7.4%9.8CVE-2019-19317Sqlite vulnerabilitylookupName in resolve.c in SQLite 3.30.1 omits bits from the colUsed bitmask in the case of a generated column, which allows attackers to cause a den…EPSS 4.7%

Source: NIST National Vulnerability Database (record CVE-2021-23362), CISA KEV, FIRST EPSS (scores of 2026-10-16). This page is refreshed as NVD updates the record.