GHSA-78hm-5hjw-58mh ua-parser/uap-php ReDoS vulnerability
A ReDoS vulnerability in the ua-parser/uap-php library allows attackers to cause denial of service via crafted user agent strings.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is GHSA-78hm-5hjw-58mh?
GHSA-78hm-5hjw-58mh is a denial of service vulnerability in ua-parser/uap-php, published on 7 Jun 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Which versions are affected by GHSA-78hm-5hjw-58mh?
2 open source packages ship an affected version, including ua-parser/uap-php.
| Package | Affected | Fixed in |
|---|---|---|
ua-parser/uap-php Packagist | All versions | 3.8.0 |
ua-parser/uap-php Packagist | All versions | 3.8.0 |
How do I fix GHSA-78hm-5hjw-58mh?
Upgrade ua-parser/uap-php to 3.8.0 or later.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is GHSA-78hm-5hjw-58mh being exploited?
There is no known exploitation of GHSA-78hm-5hjw-58mh in the wild and no public exploit code.