CVE-2021-23362

Regular Expression Denial of Service (ReDoS)

Published Mar 23, 2021 CVSS 3.1 · 5.3 Medium EPSS 3.6% KEV · Not listed
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2021-0928 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.
Github GHSA Github GHSA GHSA-43f8-2h32-f4cj Regular Expression Denial of Service in hosted-git-info
Ubuntu USN Ubuntu USN USN-5216-1 hosted-git-info vulnerability
History

No history.

Weaknesses
  • CWE-1333

    Inefficient Regular Expression Complexity

  • CWE-400

    Uncontrolled Resource Consumption

Sources

Status
PUBLISHED
Assigner
snyk
Published
Updated
Sep 17, 2024, 3:02 AM
Reserved
Jan 8, 2021, 12:00 AM
Status
Modified
Published
Mar 23, 2021, 5:15 PM
Modified
Jun 17, 2026, 3:38 AM
Severity
Moderate
Public date
Mar 23, 2021, 12:00 AM