Skip to main content
← All vulnerabilities
CVE-2022-25927GHSA-FHG7-M89Q-25R3

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.7.33, 1.0.33
2 proofs of concept on GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • n/a ua-parser-js

    From 0.7.30 · fixed in 0.7.33; From 0.8.1 · fixed in 1.0.33

  • ua-parser-jsnpm

    From 0.7.30 · fixed in 0.7.33

  • ua-parser-jsnpm

    From 0.8.0 · fixed in 1.0.33

References 4

security.snyk.io

GitHub · faisalman/ua-parser-js

GitHub · Sleuth-in-town/CVE-2022-25927-test

GitHub · masahiro331/cve-2022-25927