cve/2022/CVE-2022-25844.md

23 lines
1.2 KiB
Markdown
Raw Normal View History

2024-05-25 21:48:12 +02:00
### [CVE-2022-25844](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-25844)
![](https://img.shields.io/static/v1?label=Product&message=angular&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3E%201.7.0%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=Regular%20Expression%20Denial%20of%20Service%20(ReDoS)&color=brighgreen)
### Description
The package angular after 1.7.0 are vulnerable to Regular Expression Denial of Service (ReDoS) by providing a custom locale rule that makes it possible to assign the parameter in posPre: ' '.repeat() of NUMBER_FORMATS.PATTERNS[1].posPre with a very high value. **Note:** 1) This package has been deprecated and is no longer maintained. 2) The vulnerable versions are 1.7.0 and higher.
### POC
#### Reference
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-2772736
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBANGULAR-2772738
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2772737
- https://snyk.io/vuln/SNYK-JS-ANGULAR-2772735
#### Github
- https://github.com/ARPSyndicate/cvemon
- https://github.com/RehaGoal/rehagoal-webapp
- https://github.com/patrikx3/redis-ui