GitHub Advisoryadvisory · Packagist
GHSA-78hm-5hjw-58mh ua-parser/uap-php ReDoS vulnerability
MEDIUM
Official page ↗
- Ecosystem
- Packagist
- Packages
- ua-parser/uap-php
- Severity
- Moderate
- Weaknesses
- CWE-1333
- Reviewed
- 2024-06-07
Affected packages
• Packagist ua-parser/uap-php: < 3.8.0 → fixed in 3.8.0
Description
A regex expression in ua-parser/uap-php could lead to a ReDoS vulnerability in versions prior to 3.8.0.
Related
Weakness · CWE (1)
- CWE-1333 Inefficient Regular Expression Complexity weakness
References
- https://github.com/ua-parser/uap-core/pull/363 web
- https://github.com/ua-parser/uap-core/commit/156f7e12b215bddbaf3df4514c399d683e6cdadc web
- https://github.com/ua-parser/uap-php/commit/947f80b39130c83a3d1c75900ac1b58828ed8aef web
- https://github.com/FriendsOfPHP/security-advisories/blob/master/ua-parser/uap-php/2018-12-14.yaml web
- https://github.com/ua-parser/uap-php package