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.

Remediation

No solution or workaround provided in the CVE record

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.