CVE-2021-27292 Regular Expression Denial of Service (ReDoS) in ua-parser-js
HighCVSS 7.5
EPSS 3.4%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebian
Description
ua-parser-js >= 0.7.14, fixed in 0.7.24, uses a regular expression which is vulnerable to denial of service. If an attacker sends a malicious User-Agent header, ua-parser-js will get stuck processing it for an extended period of time.
Upgrade path
8 packages: 5 fixed, 3 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/node-ua-parser-js(Ubuntu 18.04) | = 0.7.14-1; All versions | No fix listed | No fix yet |
| ubuntu/node-ua-parser-js(Ubuntu 20.04) | = 0.7.14-1; All versions | No fix listed | No fix yet |
| ubuntu/node-ua-parser-js(Ubuntu 22.04) | = 0.7.24+ds-1; = 0.7.24+ds-2; = 0.7.31+ds+~0.7.36-1; All versions | No fix listed | No fix yet |
| debian/node-ua-parser-js(Debian 12) | < 0.7.24+ds-1 | 0.7.24+ds-1 | Fixed |
| debian/node-ua-parser-js(Debian 13) | < 0.7.24+ds-1 | 0.7.24+ds-1 | Fixed |
| debian/node-ua-parser-js(Debian 14) | < 0.7.24+ds-1 | 0.7.24+ds-1 | Fixed |
| npm ua-parser-js(npm) | >= 0.7.14, < 0.7.24 | 0.7.24 | Fixed |
| ua-parser-js project ua-parser-js | >= 0.7.14, < 0.7.24 | 0.7.24 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm ua-parser-js(npm) | >= 0.7.14, < 0.7.24 | 0.7.24 |
| debian/node-ua-parser-js(Debian:12) | < 0.7.24+ds-1 | 0.7.24+ds-1 |
| debian/node-ua-parser-js(Debian:13) | < 0.7.24+ds-1 | 0.7.24+ds-1 |
| debian/node-ua-parser-js(Debian:14) | < 0.7.24+ds-1 | 0.7.24+ds-1 |
| ubuntu/node-ua-parser-js(Ubuntu:22.04) | All versions | No fix listed |
| ua-parser-js project ua-parser-js | >= 0.7.14, < 0.7.24 | 0.7.24 |
| ubuntu/node-ua-parser-js(Ubuntu:18.04) | All versions | No fix listed |
| ubuntu/node-ua-parser-js(Ubuntu:18.04) | = 0.7.14-1 | No fix listed |
| ubuntu/node-ua-parser-js(Ubuntu:20.04) | All versions | No fix listed |
| ubuntu/node-ua-parser-js(Ubuntu:20.04) | = 0.7.14-1 | No fix listed |
| ubuntu/node-ua-parser-js(Ubuntu:22.04) | = 0.7.24+ds-1 | No fix listed |
| ubuntu/node-ua-parser-js(Ubuntu:22.04) | = 0.7.24+ds-2 | No fix listed |
| ubuntu/node-ua-parser-js(Ubuntu:22.04) | = 0.7.31+ds+~0.7.36-1 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch third-party-advisory
- gist.github.com exploit issue-tracking third-party-advisory
- github.com issue-tracking patch third-party-advisory
- github.com
- Debian Security Tracker CVE-2021-27292 vendor-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- www.cve.org issue-tracking
- bugs.debian.org issue-tracking