mirror of
https://github.com/0xMarcio/cve.git
synced 2025-11-30 18:56:19 +00:00
23 lines
1.0 KiB
Markdown
23 lines
1.0 KiB
Markdown
### [CVE-2021-23362](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23362)
|
|

|
|

|
|
&color=brightgreen)
|
|
|
|
### 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.
|
|
|
|
### POC
|
|
|
|
#### Reference
|
|
- 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
|
|
|
|
#### Github
|
|
- https://github.com/engn33r/awesome-redos-security
|
|
- https://github.com/marcosrg9/YouTubeTV
|
|
- https://github.com/retr0-13/auditjs
|
|
- https://github.com/sonatype-nexus-community/auditjs
|
|
|