CVE-2021-23362

Regular Expression Denial of Service (ReDoS)

State
Published
Severity
5.3 Medium
Published
Mar 23, 2021
Updated
Sep 17, 2024
Reserved
Jan 8, 2021

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:Csnyk

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
hosted-git-infon/a
  • before 3.0.8Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.