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

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: snyk

Published: 2021-03-23T16:20:14.854942Z

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 : Analyzed

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

Modified: 2023-08-08T14:22:24.967

Link: CVE-2021-23362

cve-icon Redhat

Severity : Moderate

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

Links: CVE-2021-23362 - Bugzilla