Skip to main content
← All vulnerabilities
CVE-2021-23362GHSA-43F8-2H32-F4CJ

Regular Expression Denial of Service (ReDoS)

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.0.8, 2.8.9
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a hosted-git-info

    fixed in 3.0.8

  • hosted-git-infonpm

    fixed in 2.8.9

  • hosted-git-infonpm

    From 3.0.0 · fixed in 3.0.8

References 7

snyk.io

GitHub · npm/hosted-git-info

cert-portal.siemens.com