logo

Regular Expression Denial of Service (REDoS) in UAParser.js

ID: 8b6d0845-e8cf-53f3-a3f9-9a95a9e946fd

STIX ID: report--8b6d0845-e8cf-53f3-a3f9-9a95a9e946fd

Feed Name: Snyk Blog

Threat Score
55/100

Date Published: 2020-10-26

Date Updated: 2026-09-15

...
...

Snyk’s monthly profile describes a REDoS vulnerability in the popular UAParser JavaScript package (CVE-2020-7733) discovered by Yeting Li; a proof-of-concept shows that appending a long sequence of spaces plus an exclamation point to a user-agent triggers catastrophic regex backtracking, potentially causing Node.js servers to hang. The issue was responsibly disclosed, patched within 72 hours, and Snyk reported that roughly 21,000 monitored packages depended on vulnerable versions, enabling widespread notification and remediation.

Your team is not currently subscribed to this feed. You must subscribe to it in order to see this post.