{"schema_version":"1.7.5","id":"CVE-2021-23362","published":"2021-03-23T17:15:14.027Z","modified":"2026-07-08T05:59:23.271723078Z","aliases":["GHSA-43f8-2h32-f4cj"],"related":["ALSA-2021:3073","ALSA-2021:3074","SNYK-JAVA-ORGWEBJARSNPM-1088356","SNYK-JS-HOSTEDGITINFO-1088355","SUSE-SU-2021:2319-1","SUSE-SU-2021:2323-1","SUSE-SU-2021:2326-1","SUSE-SU-2021:2327-1","SUSE-SU-2021:2353-1","SUSE-SU-2021:2354-1","SUSE-SU-2021:2618-1","SUSE-SU-2021:2620-1","openSUSE-SU-2021:1059-1","openSUSE-SU-2021:1060-1","openSUSE-SU-2021:1061-1","openSUSE-SU-2021:1113-1","openSUSE-SU-2021:2327-1","openSUSE-SU-2021:2353-1","openSUSE-SU-2021:2354-1","openSUSE-SU-2021:2618-1"],"details":"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":[{"ranges":[{"type":"GIT","repo":"https://github.com/npm/hosted-git-info","events":[{"introduced":"7aa49c01abeb96480dbb2c94b1967ffd03a2e460"},{"fixed":"8d4b3697d79bcd89cdb36d1db165e3696c783a01"},{"introduced":"64f0b645f52371b0680becafe7b200da8d3330ec"},{"fixed":"a810463604a54af041223a1f69c80622b85fac90"},{"fixed":"29adfe5ef789784c861b2cdeb15051ec2ba651a7"},{"fixed":"bede0dc38e1785e732bf0a48ba6f81a4a908eba3"}],"database_specific":{"cpe":"cpe:2.3:a:npmjs:hosted-git-info:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"2.0.0"},{"fixed":"2.8.9"},{"introduced":"3.0.0"},{"fixed":"3.0.8"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["v2.8.8","v3.0.7","v3.0.6","v3.0.5","v3.0.4","v2.8.7","v3.0.3","v2.8.6","v3.0.2","v2.8.5","v3.0.1","v3.0.0","v2.8.4","v2.8.3","v2.8.2","v2.8.1","v2.8.0","v2.7.1","v2.7.0","v2.6.0","v2.5.0","v2.4.2","v2.4.1","v2.4.0","v2.3.1","v2.3.0","v2.2.0","v2.1.5","v2.1.4","v2.1.3","v2.1.2","v2.1.1","v2.1.0","v2.0.3","v2.0.2","v2.0.1","v2.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-23362.json"}}],"references":[{"type":"FIX","url":"https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf"},{"type":"FIX","url":"https://github.com/npm/hosted-git-info/commit/29adfe5ef789784c861b2cdeb15051ec2ba651a7"},{"type":"FIX","url":"https://github.com/npm/hosted-git-info/commit/8d4b3697d79bcd89cdb36d1db165e3696c783a01"},{"type":"FIX","url":"https://github.com/npm/hosted-git-info/commit/bede0dc38e1785e732bf0a48ba6f81a4a908eba3"},{"type":"FIX","url":"https://github.com/npm/hosted-git-info/commits/v2"},{"type":"FIX","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1088356"},{"type":"FIX","url":"https://snyk.io/vuln/SNYK-JS-HOSTEDGITINFO-1088355"}],"database_specific":{"unresolved_ranges":[{"cpes":["cpe:2.3:a:siemens:sinec_infrastructure_network_services:*:*:*:*:*:*:*:*"],"extracted_events":[{"fixed":"1.0.1.1"}],"source":"CPE_RANGE","vendor_product":"siemens:sinec_infrastructure_network_services"}]},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}]}