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 Information

Status: PUBLISHED

Assigner: snyk

Published: 2021-03-23T00:00:00

Updated: 2022-03-08T14:08:26

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


Link: CVE-2021-23362

JSON object: View

cve-icon NVD Information

Status : Analyzed

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

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


Link: CVE-2021-23362

JSON object: View

cve-icon Redhat Information

No data.

CWE