CVE-2022-25927
MEDIUMua-parser-js 0.7.30-0.7.32 and 0.8.1-1.0.32 - Regular Expression Denial of Service via trim() Function
Title source: llmExploitation Summary
EIP tracks 2 public exploits for CVE-2022-25927. PoCs published by Sleuth-in-town, masahiro331.
AI-analyzed exploit summary This PoC demonstrates CVE-2022-25927, a ReDoS vulnerability in the 'ua-parser-js' library. It creates an HTTP server that parses User-Agent strings, triggering excessive backtracking in the regex engine, leading to denial of service.
Description
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.
Exploits (2)
This PoC demonstrates CVE-2022-25927, a ReDoS vulnerability in the 'ua-parser-js' library. It creates an HTTP server that parses User-Agent strings, triggering excessive backtracking in the regex engine, leading to denial of service.
This PoC demonstrates CVE-2022-25927, a ReDoS vulnerability in ua-parser-js. It exploits inefficient regex handling by sending a maliciously crafted User-Agent string with excessive repetition, causing denial-of-service.
References (2)
Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L