Vulnerability

CVE-2021-23362

mediumCVSS 3.1 5.3Published 23 Mar 2021

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Npmjs hosted-git-info
  • Siemens sinec infrastructure network services

Weakness type

References

  • cert-portal.siemens.com /productcert/pdf/ssa-389290.pdf
  • github.com /npm/hosted-git-info/commit/29adfe5ef789784c861b2cdeb15051e…
  • github.com /npm/hosted-git-info/commit/8d4b3697d79bcd89cdb36d1db165e36…
  • github.com /npm/hosted-git-info/commit/bede0dc38e1785e732bf0a48ba6f81a…
  • github.com /npm/hosted-git-info/commits/v2
  • snyk.io /vuln/SNYK-JAVA-ORGWEBJARSNPM-1088356
  • snyk.io /vuln/SNYK-JS-HOSTEDGITINFO-1088355

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning