CVE-2021-23362

Medium

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.

SeverityMedium
CVSS5.3
Exploit probability—
ProductNpmjs Hosted-git-info
PublishedMar 23, 2021
First seenMar 23, 2021

How to fix

Update
  • npmjs hosted-git-info2.8.9, 3.0.8 or later
  • siemens sinec_infrastructure_network_services1.0.1.1 or later
  • hosted-git-info2.8.9, 3.0.8 or later

Affected products

ProductAffected versionsFixed in
npmjs hosted-git-info2.0.0 ≤ v < 2.8.9, 3.0.0 ≤ v < 3.0.82.8.9, 3.0.8
siemens sinec_infrastructure_network_servicesv < 1.0.1.11.0.1.1
hosted-git-infonpmv < 2.8.9, 3.0.0 ≤ v < 3.0.82.8.9, 3.0.8

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.