7.5
HIGH
CVE-2021-27292
Ua-Parser-Js Regular Expression Denial of Service (DoS)
Description

ua-parser-js >= 0.7.14, fixed in 0.7.24, uses a regular expression which is vulnerable to denial of service. If an attacker sends a malicious User-Agent header, ua-parser-js will get stuck processing it for an extended period of time.

INFO

Published Date :

March 17, 2021, 1:15 p.m.

Last Modified :

March 23, 2021, 8:21 p.m.

Remotely Exploitable :

Yes !

Impact Score :

3.6

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2021-27292 has a 3 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2021-27292 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Ua-parser-js_project ua-parser-js
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2021-27292.

URL Resource
https://gist.github.com/b-c-ds/6941d80d6b4e694df4bc269493b7be76 Exploit Third Party Advisory
https://github.com/faisalman/ua-parser-js/commit/809439e20e273ce0d25c1d04e111dcf6011eb566 Patch Third Party Advisory
https://github.com/pygments/pygments/commit/2e7e8c4a7b318f4032493773732754e418279a14 Patch Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Python JavaScript C#

Updated: 2 years, 5 months ago
0 stars 0 fork 0 watcher
Born at : March 22, 2022, 1:01 p.m. This repo has been linked 11 different CVEs too.

List of RegEx DoS (ReDoS) CVEs and resources

security awesome redos regex dos regex-dos pentesting awesome-list regex-security

Updated: 2 months, 2 weeks ago
23 stars 2 fork 2 watcher
Born at : June 10, 2021, 1:57 a.m. This repo has been linked 76 different CVEs too.

Find regular expressions which are vulnerable to ReDoS (Regular Expression Denial of Service)

Python JavaScript C#

Updated: 2 weeks, 4 days ago
782 stars 50 fork 50 watcher
Born at : Nov. 24, 2020, 7:24 p.m. This repo has been linked 11 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-27292 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-27292 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Mar. 23, 2021

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:N/I:N/A:P)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
    Changed Reference Type https://gist.github.com/b-c-ds/6941d80d6b4e694df4bc269493b7be76 No Types Assigned https://gist.github.com/b-c-ds/6941d80d6b4e694df4bc269493b7be76 Exploit, Third Party Advisory
    Changed Reference Type https://github.com/faisalman/ua-parser-js/commit/809439e20e273ce0d25c1d04e111dcf6011eb566 No Types Assigned https://github.com/faisalman/ua-parser-js/commit/809439e20e273ce0d25c1d04e111dcf6011eb566 Patch, Third Party Advisory
    Changed Reference Type https://github.com/pygments/pygments/commit/2e7e8c4a7b318f4032493773732754e418279a14 No Types Assigned https://github.com/pygments/pygments/commit/2e7e8c4a7b318f4032493773732754e418279a14 Patch, Third Party Advisory
    Added CWE NIST NVD-CWE-Other
    Added CPE Configuration OR *cpe:2.3:a:ua-parser-js_project:ua-parser-js:*:*:*:*:*:node.js:*:* versions from (including) 0.7.14 up to (excluding) 0.7.24
  • CVE Modified by [email protected]

    Mar. 18, 2021

    Action Type Old Value New Value
    Added Reference https://github.com/faisalman/ua-parser-js/commit/809439e20e273ce0d25c1d04e111dcf6011eb566 [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-27292 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2021-27292 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.24 }} 0.03%

score

0.61957

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability