CVE catalog

CVE-2022-25927

node-ua-parser-js: CVE-2022-25927

[CVE catalog]

Severity
High · CVSS 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
Source
[NVD] · [CVE record]
EPSS
1.73% · Oct 22, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiannode-ua-parser-jssid2.0.10+ds+~cs0.3.5-1fixed
Debiannode-ua-parser-jsforky2.0.10+ds+~cs0.3.5-1fixed
Debiannode-ua-parser-jstrixie0.8.1+ds+~0.7.36-3fixed
Debiannode-ua-parser-jsbookworm0.8.1+ds+~0.7.36-3fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannode-ua-parser-jssourcesid0.8.1+ds+~0.7.36-3not yet assignedNot reportedNot reported
Debiannode-ua-parser-jssourceforky0.8.1+ds+~0.7.36-3not yet assignedNot reportedNot reported
Debiannode-ua-parser-jssourcetrixie0.8.1+ds+~0.7.36-3not yet assignedNot reportedNot reported
Debiannode-ua-parser-jssourcebookworm0.8.1+ds+~0.7.36-3not yet assignedNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Details (2)
    • 0.8.1+ds+~0.7.36-3 · all · bookworm

      Fixed · Fixed: 0.8.1+ds+~0.7.36-3

      dsa · node-ua-parser-js · debian · bookworm

    • 0.8.1+ds+~0.7.36-3 · all · bookworm

      Fixed · Fixed: 0.8.1+ds+~0.7.36-3

      dsa · node-ua-parser-js · debian · bookworm

Observed:

References