PT-2021-3194 · Unknown · Ua-Parser-Js

Ben Caller

·

Published

2021-03-17

·

Updated

2021-05-25

·

CVE-2021-27292

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions ua-parser-js versions 0.7.14 through 0.7.23
Description The issue is related to an uncontrolled resource consumption vulnerability in the ua-parser-js library. It can be exploited by a remote attacker to cause a denial of service. The vulnerability arises from a regular expression that is vulnerable to denial of service attacks. If an attacker sends a malicious User-Agent header, the library will get stuck processing it for an extended period.
Recommendations For versions 0.7.14 through 0.7.23, update to version 0.7.24 to resolve the issue. As a temporary workaround, consider restricting access to the User-Agent header to minimize the risk of exploitation.

Exploit

Fix

Resource Exhaustion

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2021-02889
CVE-2021-27292
GHSA-78CJ-FXPH-M83P

Affected Products

Ua-Parser-Js