CVE-2021-23362

published 23 Mar 2021 · updated 17 Sep 2024

Regular Expression Denial of Service (ReDoS)

5.3MediumCVSS 5.3EPSS 4%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 4%. Fixed in 3.0.8.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
<3.0.83.0.8

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-23362 severity on Zeptric[![CVE-2021-23362](https://zeptric.io/badge/cve/CVE-2021-23362.svg)](https://zeptric.io/cve/CVE-2021-23362)