{"id":"UBUNTU-CVE-2021-29060","details":"A Regular Expression Denial of Service (ReDOS) vulnerability was discovered in Color-String version 1.5.5 and below which occurs when the application is provided and checks a crafted invalid HWB string.","modified":"2026-05-20T16:04:54.689498861Z","published":"2021-06-21T16:15:00Z","upstream":["CVE-2021-29060"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-29060"},{"type":"REPORT","url":"https://github.com/yetingli/SaveResults/blob/main/js/color-string.js"},{"type":"REPORT","url":"https://github.com/yetingli/PoCs/blob/main/CVE-2021-29060/Color-String.md"},{"type":"REPORT","url":"https://github.com/Qix-/color-string/commit/0789e21284c33d89ebc4ab4ca6f759b9375ac9d3"},{"type":"REPORT","url":"https://www.npmjs.com/package/color-string"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-29060"}],"affected":[{"package":{"name":"node-color-string","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/node-color-string?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.5.2-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.5.2-1","binary_name":"node-color-string"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-29060.json"}},{"package":{"name":"node-color-string","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/node-color-string?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.5.2-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.5.2-1","binary_name":"node-color-string"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-29060.json"}},{"package":{"name":"node-color-string","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/node-color-string?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.5.4-2"],"ecosystem_specific":{"binaries":[{"binary_name":"node-color-string","binary_version":"1.5.4-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-29060.json"}},{"package":{"name":"node-color-string","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/node-color-string?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.9.1-2"],"ecosystem_specific":{"binaries":[{"binary_name":"node-color-string","binary_version":"1.9.1-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-29060.json"}},{"package":{"name":"node-color-string","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/node-color-string?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.9.1-2"],"ecosystem_specific":{"binaries":[{"binary_version":"1.9.1-2","binary_name":"node-color-string"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-29060.json"}},{"package":{"name":"node-color-string","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/node-color-string?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.9.1-2"],"ecosystem_specific":{"binaries":[{"binary_name":"node-color-string","binary_version":"1.9.1-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-29060.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"},{"type":"Ubuntu","score":"medium"}]}