GHSA-43f8-2h32-f4cjMediumCVSS 5.3

Regular Expression Denial of Service in hosted-git-info

Published
May 6, 2021
Last Modified
February 1, 2023

🔗 CVE IDs covered (1)

📋 Description

The npm 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 products2

  • npm/hosted-git-info:>= 3.0.0, < 3.0.8
  • npm/hosted-git-info:< 2.8.9

🔗 References (10)