CVE-2021-23362
published medium CVSS 3.1 · 5.3Regular Expression Denial of Service (ReDoS)
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | hosted-git-infounspecified to < 3.0.8 | Affected | Not stated | snyk |
| AlmaLinux | 8 | nodejs-nodemon | Advisory build | 2.0.3-1.module_el8.4.0+2521+c668cc9f | ALSA-2021:3073 |
| Oracle Linux | 8 | nodejsaarch64 · nodejs · 12b | Advisory build | 1:12.22.3-2.module+el8.4.0+20281+eb64e322 | ELSA-2021-3073 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs12-nodejsppc64le | Advisory build | 12.22.2-1.el7 | RHSA-2021:2931 |
| AlmaLinux | 8 | nodejs-nodemon | Advisory build | 2.0.3-1.module_el8.4.0+2521+c668cc9f | ALSA-2021:3074 |
| AlmaLinux | 8 | nodejs-packaging | Advisory build | 17-3.module_el8.3.0+2023+d2377ea3 | ALSA-2021:3073 |
| AlmaLinux | 8 | nodejs-packaging | Advisory build | 17-3.module_el8.4.0+2224+b07ac28e | ALSA-2021:3073 |
| AlmaLinux | 8 | nodejs-packaging | Advisory build | 17-3.module_el8.4.0+2521+c668cc9f | ALSA-2021:3073 |
Show 93 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 8 | nodejs-packaging | Advisory build | 23-3.module_el8.4.0+2522+3bd42762 | ALSA-2021:3074 |
| AlmaLinux | 8 | nodejs-packaging | Advisory build | 23-3.module_el8.5.0+254+b4526b16 | ALSA-2021:3074 |
| Oracle Linux | 8 | nodejsaarch64 · nodejs · 14b | Advisory build | 1:14.17.3-2.module+el8.4.0+20278+965e0649 | ELSA-2021-3074 |
| Oracle Linux | 8 | nodejsx86_64 · nodejs · 12b | Advisory build | 1:12.22.3-2.module+el8.4.0+20281+eb64e322 | ELSA-2021-3073 |
| Oracle Linux | 8 | nodejsx86_64 · nodejs · 14b | Advisory build | 1:14.17.3-2.module+el8.4.0+20278+965e0649 | ELSA-2021-3074 |
| Oracle Linux | 8 | nodejs-develaarch64 · nodejs · 12b | Advisory build | 1:12.22.3-2.module+el8.4.0+20281+eb64e322 | ELSA-2021-3073 |
| Oracle Linux | 8 | nodejs-develaarch64 · nodejs · 14b | Advisory build | 1:14.17.3-2.module+el8.4.0+20278+965e0649 | ELSA-2021-3074 |
| Oracle Linux | 8 | nodejs-develx86_64 · nodejs · 12b | Advisory build | 1:12.22.3-2.module+el8.4.0+20281+eb64e322 | ELSA-2021-3073 |
| Oracle Linux | 8 | nodejs-develx86_64 · nodejs · 14b | Advisory build | 1:14.17.3-2.module+el8.4.0+20278+965e0649 | ELSA-2021-3074 |
| Oracle Linux | 8 | nodejs-docsaarch64 · nodejs · 12b | Advisory build | 1:12.22.3-2.module+el8.4.0+20281+eb64e322 | ELSA-2021-3073 |
| Oracle Linux | 8 | nodejs-docsaarch64 · nodejs · 14b | Advisory build | 1:14.17.3-2.module+el8.4.0+20278+965e0649 | ELSA-2021-3074 |
| Oracle Linux | 8 | nodejs-docsx86_64 · nodejs · 12b | Advisory build | 1:12.22.3-2.module+el8.4.0+20281+eb64e322 | ELSA-2021-3073 |
| Oracle Linux | 8 | nodejs-docsx86_64 · nodejs · 14b | Advisory build | 1:14.17.3-2.module+el8.4.0+20278+965e0649 | ELSA-2021-3074 |
| Oracle Linux | 8 | nodejs-full-i18naarch64 · nodejs · 12b | Advisory build | 1:12.22.3-2.module+el8.4.0+20281+eb64e322 | ELSA-2021-3073 |
| Oracle Linux | 8 | nodejs-full-i18naarch64 · nodejs · 14b | Advisory build | 1:14.17.3-2.module+el8.4.0+20278+965e0649 | ELSA-2021-3074 |
| Oracle Linux | 8 | nodejs-full-i18nx86_64 · nodejs · 12b | Advisory build | 1:12.22.3-2.module+el8.4.0+20281+eb64e322 | ELSA-2021-3073 |
| Oracle Linux | 8 | nodejs-full-i18nx86_64 · nodejs · 14b | Advisory build | 1:14.17.3-2.module+el8.4.0+20278+965e0649 | ELSA-2021-3074 |
| Oracle Linux | 8 | nodejs-nodemonaarch64 · nodejs · 12b | Advisory build | 0:2.0.3-1.module+el8.4.0+20281+eb64e322 | ELSA-2021-3073 |
| Oracle Linux | 8 | nodejs-nodemonaarch64 · nodejs · 14b | Advisory build | 0:2.0.3-1.module+el8.3.0+7818+6cd30d85 | ELSA-2021-3074 |
| Oracle Linux | 8 | nodejs-nodemonx86_64 · nodejs · 12b | Advisory build | 0:2.0.3-1.module+el8.4.0+20281+eb64e322 | ELSA-2021-3073 |
| Oracle Linux | 8 | nodejs-nodemonx86_64 · nodejs · 14b | Advisory build | 0:2.0.3-1.module+el8.3.0+7818+6cd30d85 | ELSA-2021-3074 |
| Oracle Linux | 8 | nodejs-packagingaarch64 · nodejs · 12b | Advisory build | 0:17-3.module+el8.1.0+5393+aaf413e3 | ELSA-2021-3073 |
| Oracle Linux | 8 | nodejs-packagingaarch64 · nodejs · 14b | Advisory build | 0:23-3.module+el8.3.0+7818+6cd30d85 | ELSA-2021-3074 |
| Oracle Linux | 8 | nodejs-packagingx86_64 · nodejs · 12b | Advisory build | 0:17-3.module+el8.1.0+5393+aaf413e3 | ELSA-2021-3073 |
| Oracle Linux | 8 | nodejs-packagingx86_64 · nodejs · 14b | Advisory build | 0:23-3.module+el8.3.0+7818+6cd30d85 | ELSA-2021-3074 |
| Oracle Linux | 8 | npmaarch64 · nodejs · 12b | Advisory build | 1:6.14.13-1.12.22.3.2.module+el8.4.0+20281+eb64e322 | ELSA-2021-3073 |
| Oracle Linux | 8 | npmaarch64 · nodejs · 14b | Advisory build | 1:6.14.13-1.14.17.3.2.module+el8.4.0+20278+965e0649 | ELSA-2021-3074 |
| Oracle Linux | 8 | npmx86_64 · nodejs · 12b | Advisory build | 1:6.14.13-1.12.22.3.2.module+el8.4.0+20281+eb64e322 | ELSA-2021-3073 |
| Oracle Linux | 8 | npmx86_64 · nodejs · 14b | Advisory build | 1:6.14.13-1.14.17.3.2.module+el8.4.0+20278+965e0649 | ELSA-2021-3074 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs12-nodejss390x | Advisory build | 12.22.2-1.el7 | RHSA-2021:2931 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs12-nodejssrc | Advisory build | 12.22.2-1.el7 | RHSA-2021:2931 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs12-nodejsx86_64 | Advisory build | 12.22.2-1.el7 | RHSA-2021:2931 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs12-nodejs-debuginfoppc64le | Advisory build | 12.22.2-1.el7 | RHSA-2021:2931 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs12-nodejs-debuginfos390x | Advisory build | 12.22.2-1.el7 | RHSA-2021:2931 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs12-nodejs-debuginfox86_64 | Advisory build | 12.22.2-1.el7 | RHSA-2021:2931 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs12-nodejs-develppc64le | Advisory build | 12.22.2-1.el7 | RHSA-2021:2931 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs12-nodejs-devels390x | Advisory build | 12.22.2-1.el7 | RHSA-2021:2931 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs12-nodejs-develx86_64 | Advisory build | 12.22.2-1.el7 | RHSA-2021:2931 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs12-nodejs-docsnoarch | Advisory build | 12.22.2-1.el7 | RHSA-2021:2931 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs12-nodejs-nodemonnoarch | Advisory build | 2.0.3-2.el7 | RHSA-2021:2931 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs12-nodejs-nodemonsrc | Advisory build | 2.0.3-2.el7 | RHSA-2021:2931 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs12-npmppc64le | Advisory build | 6.14.13-12.22.2.1.el7 | RHSA-2021:2931 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs12-npms390x | Advisory build | 6.14.13-12.22.2.1.el7 | RHSA-2021:2931 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs12-npmx86_64 | Advisory build | 6.14.13-12.22.2.1.el7 | RHSA-2021:2931 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs14-nodejsppc64le | Advisory build | 14.17.2-1.el7 | RHSA-2021:2932 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs14-nodejss390x | Advisory build | 14.17.2-1.el7 | RHSA-2021:2932 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs14-nodejssrc | Advisory build | 14.17.2-1.el7 | RHSA-2021:2932 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs14-nodejsx86_64 | Advisory build | 14.17.2-1.el7 | RHSA-2021:2932 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs14-nodejs-debuginfoppc64le | Advisory build | 14.17.2-1.el7 | RHSA-2021:2932 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs14-nodejs-debuginfos390x | Advisory build | 14.17.2-1.el7 | RHSA-2021:2932 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs14-nodejs-debuginfox86_64 | Advisory build | 14.17.2-1.el7 | RHSA-2021:2932 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs14-nodejs-develppc64le | Advisory build | 14.17.2-1.el7 | RHSA-2021:2932 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs14-nodejs-devels390x | Advisory build | 14.17.2-1.el7 | RHSA-2021:2932 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs14-nodejs-develx86_64 | Advisory build | 14.17.2-1.el7 | RHSA-2021:2932 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs14-nodejs-docsnoarch | Advisory build | 14.17.2-1.el7 | RHSA-2021:2932 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs14-nodejs-nodemonnoarch | Advisory build | 2.0.3-2.el7 | RHSA-2021:2932 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs14-nodejs-nodemonsrc | Advisory build | 2.0.3-2.el7 | RHSA-2021:2932 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs14-npmppc64le | Advisory build | 6.14.13-14.17.2.1.el7 | RHSA-2021:2932 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs14-npms390x | Advisory build | 6.14.13-14.17.2.1.el7 | RHSA-2021:2932 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs14-npmx86_64 | Advisory build | 6.14.13-14.17.2.1.el7 | RHSA-2021:2932 |
| Red Hat Enterprise Linux | RHEL-8 | nodejsaarch64 | Advisory build | 1:12.22.3-2.module+el8.4.0+11732+c668cc9f | RHSA-2021:3073 |
| Red Hat Enterprise Linux | RHEL-8 | nodejsaarch64 | Advisory build | 1:12.22.5-1.module+el8.1.0+12238+63fe3aec | RHSA-2021:3639 |
| Red Hat Enterprise Linux | RHEL-8 | nodejsaarch64 | Advisory build | 1:12.22.5-1.module+el8.2.0+12241+a3db445b | RHSA-2021:3638 |
| Red Hat Enterprise Linux | RHEL-8 | nodejsaarch64 | Advisory build | 1:14.17.3-2.module+el8.4.0+11738+3bd42762 | RHSA-2021:3074 |
| Red Hat Enterprise Linux | RHEL-8 | nodejsppc64le | Advisory build | 1:12.22.3-2.module+el8.4.0+11732+c668cc9f | RHSA-2021:3073 |
| Red Hat Enterprise Linux | RHEL-8 | nodejsppc64le | Advisory build | 1:12.22.5-1.module+el8.1.0+12238+63fe3aec | RHSA-2021:3639 |
| Red Hat Enterprise Linux | RHEL-8 | nodejsppc64le | Advisory build | 1:12.22.5-1.module+el8.2.0+12241+a3db445b | RHSA-2021:3638 |
| Red Hat Enterprise Linux | RHEL-8 | nodejsppc64le | Advisory build | 1:14.17.3-2.module+el8.4.0+11738+3bd42762 | RHSA-2021:3074 |
| Red Hat Enterprise Linux | RHEL-8 | nodejss390x | Advisory build | 1:12.22.3-2.module+el8.4.0+11732+c668cc9f | RHSA-2021:3073 |
| Red Hat Enterprise Linux | RHEL-8 | nodejss390x | Advisory build | 1:12.22.5-1.module+el8.1.0+12238+63fe3aec | RHSA-2021:3639 |
| Red Hat Enterprise Linux | RHEL-8 | nodejss390x | Advisory build | 1:12.22.5-1.module+el8.2.0+12241+a3db445b | RHSA-2021:3638 |
| Red Hat Enterprise Linux | RHEL-8 | nodejss390x | Advisory build | 1:14.17.3-2.module+el8.4.0+11738+3bd42762 | RHSA-2021:3074 |
| Red Hat Enterprise Linux | RHEL-8 | nodejssrc | Advisory build | 1:12.22.3-2.module+el8.4.0+11732+c668cc9f | RHSA-2021:3073 |
| Red Hat Enterprise Linux | RHEL-8 | nodejssrc | Advisory build | 1:12.22.5-1.module+el8.1.0+12238+63fe3aec | RHSA-2021:3639 |
| Red Hat Enterprise Linux | RHEL-8 | nodejssrc | Advisory build | 1:12.22.5-1.module+el8.2.0+12241+a3db445b | RHSA-2021:3638 |
| Red Hat Enterprise Linux | RHEL-8 | nodejssrc | Advisory build | 1:14.17.3-2.module+el8.4.0+11738+3bd42762 | RHSA-2021:3074 |
| Red Hat Enterprise Linux | RHEL-8 | nodejsx86_64 | Advisory build | 1:12.22.3-2.module+el8.4.0+11732+c668cc9f | RHSA-2021:3073 |
| Red Hat Enterprise Linux | RHEL-8 | nodejsx86_64 | Advisory build | 1:12.22.5-1.module+el8.1.0+12238+63fe3aec | RHSA-2021:3639 |
| Red Hat Enterprise Linux | RHEL-8 | nodejsx86_64 | Advisory build | 1:12.22.5-1.module+el8.2.0+12241+a3db445b | RHSA-2021:3638 |
| Red Hat Enterprise Linux | RHEL-8 | nodejsx86_64 | Advisory build | 1:14.17.3-2.module+el8.4.0+11738+3bd42762 | RHSA-2021:3074 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-debuginfoaarch64 | Advisory build | 1:12.22.3-2.module+el8.4.0+11732+c668cc9f | RHSA-2021:3073 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-debuginfoaarch64 | Advisory build | 1:12.22.5-1.module+el8.1.0+12238+63fe3aec | RHSA-2021:3639 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-debuginfoaarch64 | Advisory build | 1:12.22.5-1.module+el8.2.0+12241+a3db445b | RHSA-2021:3638 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-debuginfoaarch64 | Advisory build | 1:14.17.3-2.module+el8.4.0+11738+3bd42762 | RHSA-2021:3074 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-debuginfoppc64le | Advisory build | 1:12.22.3-2.module+el8.4.0+11732+c668cc9f | RHSA-2021:3073 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-debuginfoppc64le | Advisory build | 1:12.22.5-1.module+el8.1.0+12238+63fe3aec | RHSA-2021:3639 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-debuginfoppc64le | Advisory build | 1:12.22.5-1.module+el8.2.0+12241+a3db445b | RHSA-2021:3638 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-debuginfoppc64le | Advisory build | 1:14.17.3-2.module+el8.4.0+11738+3bd42762 | RHSA-2021:3074 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-debuginfos390x | Advisory build | 1:12.22.3-2.module+el8.4.0+11732+c668cc9f | RHSA-2021:3073 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-debuginfos390x | Advisory build | 1:12.22.5-1.module+el8.1.0+12238+63fe3aec | RHSA-2021:3639 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-debuginfos390x | Advisory build | 1:12.22.5-1.module+el8.2.0+12241+a3db445b | RHSA-2021:3638 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-debuginfos390x | Advisory build | 1:14.17.3-2.module+el8.4.0+11738+3bd42762 | RHSA-2021:3074 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-debuginfox86_64 | Advisory build | 1:12.22.3-2.module+el8.4.0+11732+c668cc9f | RHSA-2021:3073 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- snyk · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | hosted-git-info | unspecified to < 3.0.8 (affected · custom) | snyk · cna |
Weaknesses
1- Regular Expression Denial of Service (ReDoS)
References
7- https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf
- https://github.com/npm/hosted-git-info/commit/29adfe5ef789784c861b2cdeb15051ec2ba651a7
- https://github.com/npm/hosted-git-info/commit/8d4b3697d79bcd89cdb36d1db165e3696c783a01
- https://github.com/npm/hosted-git-info/commit/bede0dc38e1785e732bf0a48ba6f81a4a908eba3
- https://github.com/npm/hosted-git-info/commits/v2
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1088356
- https://snyk.io/vuln/SNYK-JS-HOSTEDGITINFO-1088355
Provider assertions
2snyk · cna
Regular Expression Denial of Service (ReDoS)
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 196f88fa39b9dd78069acd9ab6aa103fa400aab5218e715ea4883f79550e07c1
- Ingested
- 23 Sep 2026, 07:52:52 UTC
- Source record
- Official CVE record