CVE-2021-23362 MEDIUM

CVE-2021-23362: Regular Expression Denial of Service (ReDoS)

Vendor N/A
Product hosted-git-info
Published March 23, 2021
Last update September 17, 2024

CVSS base score

5.3/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality None
Integrity None

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

March 23, 2021 CVE published
September 17, 2024 Record updated