CVE-2021-27292

Source
https://cve.org/CVERecord?id=CVE-2021-27292
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-27292.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-27292
Aliases
Downstream
Published
2021-03-17T13:15:15.200Z
Modified
2026-05-19T00:03:10.155396Z
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
{
    "extracted_events": [
        {
            "introduced": "0.7.14"
        },
        {
            "fixed": "0.7.24"
        }
    ],
    "source": [
        "CPE_FIELD",
        "REFERENCES"
    ],
    "cpe": "cpe:2.3:a:ua-parser-js_project:ua-parser-js:*:*:*:*:*:node.js:*:*"
}

Affected versions

0.*
0.7.14
0.7.18
0.7.19
0.7.20
0.7.21

Database specific

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

Git / github.com/pygments/pygments

Affected ranges

Type
GIT
Repo
https://github.com/pygments/pygments
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "source": "REFERENCES"
}

Affected versions

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/osv-test-cve-osv-conversion/osv-output/CVE-2021-27292.json"