CVE-2022-25927

Source
https://cve.org/CVERecord?id=CVE-2022-25927
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-25927.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-25927
Aliases
Downstream
Published
2023-01-25T05:00:00.897Z
Modified
2026-06-18T03:57:01.147550369Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P CVSS Calculator
Summary
[none]
Details

Versions of the package ua-parser-js from 0.7.30 and before 0.7.33, from 0.8.1 and before 1.0.33 are vulnerable to Regular Expression Denial of Service (ReDoS) via the trim() function.

Database specific
{
    "cwe_ids": [
        "CWE-1333"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/25xxx/CVE-2022-25927.json",
    "cna_assigner": "snyk"
}
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.30"
        },
        {
            "fixed": "0.7.33"
        },
        {
            "introduced": "0.8.1"
        },
        {
            "fixed": "1.0.33"
        }
    ],
    "cpe": "cpe:2.3:a:ua-parser-js_project:ua-parser-js:*:*:*:*:*:node.js:*:*",
    "source": [
        "CPE_RANGE",
        "REFERENCES"
    ]
}

Affected versions

0.*
0.7.31
0.8.1
1.*
1.0.1
1.0.2
1.0.32

Database specific

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