Security advisory
A vulnerability classified as problematic has been found in debug-js debug up to 3.0.x. This affects the function useColors of the file src/node.js. The manipulation of the argument str leads to inefficient regular expression complexity. Upgrading to version 3.1.0 is able to address this issue. The identifier of the patch is c38a0166c266a679c8de012d4eaccec3f944e685. It is recommended to upgrade the affected component. The identifier VDB-217665 was assigned to this vulnerability.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2017-20165
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 09:53 UTC · Revision 1
Source evidence
A vulnerability classified as problematic has been found in debug-js debug up to 3.0.x. This affects the function useColors of the file src/node.js. The manipulation of the argument str leads to inefficient regular expression complexity. Upgrading to version 3.1.0 is able to address this issue. The identifier of the patch is c38a0166c266a679c8de012d4eaccec3f944e685. It is recommended to upgrade the affected component. The identifier VDB-217665 was assigned to this vulnerability.
osv:CVE-2017-20165
Complete source record
{
"id": "f717c54baba0d3fd061f60cadd942092a9b49fc1dda2821d0328b337c9327d33",
"url": "https://osv.dev/vulnerability/CVE-2017-20165",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2017-20165",
"summary": "A vulnerability classified as problematic has been found in debug-js debug up to 3.0.x. This affects the function useColors of the file src/node.js. The manipulation of the argument str leads to inefficient regular expression complexity. Upgrading to version 3.1.0 is able to address this issue. The identifier of the patch is c38a0166c266a679c8de012d4eaccec3f944e685. It is recommended to upgrade the affected component. The identifier VDB-217665 was assigned to this vulnerability.",
"evidence": "osv:CVE-2017-20165",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2017-20165",
"aliases": [
"CVE-2017-20165",
"GHSA-9vvw-cc9w-f27h"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/debug-js/debug",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "13abeae468fea297d0dccc50bc55590809241083"
},
{
"introduced": "52b894cd798f492ead1866fca4d76a649f0e62c6"
},
{
"fixed": "f073e056f33efdd5b311381eb6bca2bc850745bf"
},
{
"fixed": "c38a0166c266a679c8de012d4eaccec3f944e685"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:debug_project:debug:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "2.6.9"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:debug_project:debug:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "3.0.0"
},
{
"fixed": "3.1.0"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "c38a0166c266a679c8de012d4eaccec3f944e685"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "f073e056f33efdd5b311381eb6bca2bc850745bf"
}
],
"source": "REFERENCES_TAG",
"original_tag": "3.1.0"
}
]
}
}
],
"versions": [
"2.6.8",
"3.0.1",
"3.0.0",
"1.0.4",
"2.6.7",
"2.6.6",
"2.6.5",
"2.6.4",
"2.6.3",
"2.6.2",
"2.6.1",
"2.6.0",
"2.5.2",
"2.5.1",
"2.4.5",
"2.4.4",
"2.4.2",
"2.4.3",
"2.4.1",
"2.4.0",
"2.3.3",
"2.3.2",
"2.3.1",
"2.3.0",
"2.2.0",
"2.1.3",
"2.1.2",
"2.1.1",
"2.1.0",
"2.0.0",
"1.0.3",
"1.0.2",
"1.0.1",
"1.0.0",
"0.8.1",
"0.8.0",
"0.7.4",
"0.7.3",
"0.7.2",
"0.7.1",
"0.7.0",
"0.6.0",
"0.5.0",
"0.4.1",
"0.4.0",
"0.3.0",
"0.2.0",
"0.1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-20165.json"
}
}
],
"modified": "2026-10-20T10:48:17.584346211Z",
"provider": "osv",
"references": [
"https://github.com/debug-js/debug/releases/tag/3.1.0",
"https://vuldb.com/?ctiid.217665",
"https://vuldb.com/?id.217665",
"https://github.com/debug-js/debug/commit/c38a0166c266a679c8de012d4eaccec3f944e685",
"https://github.com/debug-js/debug/pull/504"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2017-20165",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 380261,
"published_at": "2023-01-09T10:15:10.447+00:00"
}