
Cloud Vulnerability DB
A community-led vulnerabilities database
A Regular Expression Denial of Service (ReDoS) vulnerability was discovered in ua-parser/uap-php versions prior to 3.8.0. The vulnerability was identified on December 14, 2018, affecting the PHP implementation of the User Agent Parser library (GitHub Advisory).
The vulnerability stems from a problematic regex pattern implementation that could lead to catastrophic backtracking. The issue was specifically related to nested repetition operators in regular expressions, such as using (\d+)? pattern, which could cause exponential processing time with certain inputs (Core PR).
When exploited, this vulnerability could cause denial of service through excessive CPU consumption when processing specially crafted user agent strings, potentially affecting the availability of applications using the vulnerable versions of the library (GitHub Advisory).
The vulnerability is classified as having moderate severity. It requires an attacker to send specifically crafted user agent strings to an application using the vulnerable version of ua-parser/uap-php (GitHub Advisory).
The vulnerability was patched in version 3.8.0 of ua-parser/uap-php. Users should upgrade to this version or later to address the ReDoS vulnerability. The fix involved modifying regex patterns to avoid nested repetition operators, replacing patterns like (\d+)? with safer alternatives such as (\d+|) (Core PR).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."