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.
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
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: snyk

Published:

Updated: 2024-09-17T03:02:03.337Z

Reserved: 2021-01-08T00:00:00

Link: CVE-2021-23362

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2021-03-23T17:15:14.027

Modified: 2024-11-21T05:51:34.637

Link: CVE-2021-23362

cve-icon Redhat

Severity : Moderate

Publid Date: 2021-03-23T00:00:00Z

Links: CVE-2021-23362 - Bugzilla

cve-icon OpenCVE Enrichment

No data.