CVE-2022-25927

Source
https://cve.org/CVERecord?id=CVE-2022-25927
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-25927.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-25927
Aliases
Downstream
Published
2023-01-25T05:00:00Z
Modified
2026-10-21T02:30:19Z
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
{
    "cna_assigner":  "snyk",
    "cwe_ids":  [
        "CWE-1333"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/25xxx/CVE-2022-25927.json"
}
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
Show details
{
    "extracted_events":  [
        {
            "cpe":  "cpe:2.3:a:ua-parser-js_project:ua-parser-js:*:*:*:*:*:node.js:*:*",
            "range":  [
                {
                    "introduced":  "0.7.30"
                },
                {
                    "fixed":  "0.7.33"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "cpe":  "cpe:2.3:a:ua-parser-js_project:ua-parser-js:*:*:*:*:*:node.js:*:*",
            "range":  [
                {
                    "introduced":  "0.8.1"
                },
                {
                    "fixed":  "1.0.33"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "range":  [
                {
                    "fixed":  "a6140a17dd0300a35cfc9cff999545f267889411"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

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/cve-osv-conversion/osv-output/CVE-2022-25927.json"