CVE-2021-23362

Regular Expression Denial of Service (ReDoS)

MEDIUM
5.3
CVSS Score
Published: March 23, 2021 at 04:20 PM UTC
Updated: June 17, 2026 at 03:38 AM UTC
2 products affected across 2 vendorsSinec Infrastructure Network ServicesHosted Git Info

Using hosted-git-info by N/A?

Get instant alerts when new vulnerabilities affect hosted-git-info - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.3
Exploit prediction
EPSS 4%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 3.0.82.0.0 ≤ v < 2.8.93.0.0 ≤ v < 3.0.8
Affected range stops below 2.8.9, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.0.8, so it looks safe — our inference, not a vendor statement
v < 1.0.1.1
Affected range stops below 1.0.1.1, so it looks safe — our inference, not a vendor statement

CVSS

5.3MEDIUMsnyk
Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
LOW
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-1333

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card