CVE-2021-27292

Source
https://cve.org/CVERecord?id=CVE-2021-27292
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-27292.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-27292
Aliases
Downstream
Published
2021-03-17T13:15:15.200Z
Modified
2026-04-10T04:31:31.251057Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/faisalman/ua-parser-js

Affected ranges

Type
GIT
Repo
https://github.com/faisalman/ua-parser-js
Events
Database specific
{
    "versions": [
        {
            "introduced": "0.7.14"
        },
        {
            "fixed": "0.7.24"
        }
    ]
}
Type
GIT
Repo
https://github.com/pygments/pygments
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

0.*
0.7.14
0.7.18
0.7.19
0.7.20
0.7.21
2.*
2.1.1
2.4.1
2.4.2
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.7.2
2.7.3

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-27292.json"