{"answers":{"affected":"8 open source packages ship an affected version, including debug. It affects 1 product.","exploited":"There is no known exploitation of CVE-2017-16137 in the wild and no public exploit code.","fix":"Upgrade debug to a fixed version for your release line: 2.6.9, 3.1.0, 3.2.7 or 4.3.1.","what":"CVE-2017-16137 is a medium-severity denial of service vulnerability in HackerOne debug node module, published on 7 Jun 2018. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2017-16137 and fix it if it is affected.\n\nWhat it is: CVE-2017-16137 is a medium-severity denial of service vulnerability in HackerOne debug node module, published on 7 Jun 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2017-16137 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- debug (npm): affected all versions; fixed in 2.6.9\n- debug (npm): affected all versions; fixed in 2.6.9\n- debug (npm): affected from 3.0.0; fixed in 3.1.0\n- debug (npm): affected from 3.0.0; fixed in 3.1.0\n- debug (npm): affected from 3.2.0; fixed in 3.2.7\n- debug (npm): affected from 3.2.0; fixed in 3.2.7\n- debug (npm): affected from 4.0.0; fixed in 4.3.1\n- debug (npm): affected from 4.0.0; fixed in 4.3.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2017-16137/ (Markdown: https://insights.sbomify.com/CVE-2017-16137/index.md)","id":"CVE-2017-16137","markdown":"https://insights.sbomify.com/CVE-2017-16137/index.md","name":"CVE-2017-16137","record":{"aliases":["AZL-43792","AZL-43819","AZL-44400","AZL-44772","CLSA-2026-1772928825","CLSA-2026-1773101693","CLSA-2026-1774225208","CLSA-2026-1776904642","CLSA-2026-1776904643","CLSA-2026-1776904644","CLSA-2026-1776904645","CLSA-2026-1787560902","CLSA-2026-1787561993","CLSA-2026-1787562139","CLSA-2026-1787562258","DEBIAN-CVE-2017-16137","GHSA-gxpj-cx7g-858c","MINI-527f-gxwf-8223","ROOT-APP-NPM-CVE-2017-16137","UBUNTU-CVE-2017-16137"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Node.js debug module","requires_auth":"none","summary":"An attacker can cause a denial of service in the Node.js debug module by sending large untrusted input to the o formatter, blocking execution.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"hackerone","cpe":[{"product":"debug","vendor":"debug_project"}],"cvss":{"score":5.3,"severity":"medium","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","version":"3.0"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"description":"The debug module is vulnerable to regular expression denial of service when untrusted user input is passed into the o formatter. It takes around 50k characters to block for 2 seconds making this a low severity issue.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Regular Expression Denial of Service in debug","id":"CVE-2017-16137","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"denial_of_service","year":"2017"},"n_packages":8,"n_references":5,"next":{"headline":"mime Regular Expression Denial of Service when MIME lookup performed on untrusted user input","id":"CVE-2017-16138"},"packages":[{"ecosystem":"npm","fixed":["2.6.9"],"introduced":["0"],"last_affected":[],"package":"debug","purl":null,"source":"GHSA-gxpj-cx7g-858c"},{"ecosystem":"npm","fixed":["2.6.9"],"introduced":["0"],"last_affected":[],"package":"debug","purl":"pkg:npm/debug","source":"GHSA-gxpj-cx7g-858c"},{"ecosystem":"npm","fixed":["3.1.0"],"introduced":["3.0.0"],"last_affected":[],"package":"debug","purl":null,"source":"GHSA-gxpj-cx7g-858c"},{"ecosystem":"npm","fixed":["3.1.0"],"introduced":["3.0.0"],"last_affected":[],"package":"debug","purl":"pkg:npm/debug","source":"GHSA-gxpj-cx7g-858c"},{"ecosystem":"npm","fixed":["3.2.7"],"introduced":["3.2.0"],"last_affected":[],"package":"debug","purl":null,"source":"GHSA-gxpj-cx7g-858c"},{"ecosystem":"npm","fixed":["3.2.7"],"introduced":["3.2.0"],"last_affected":[],"package":"debug","purl":"pkg:npm/debug","source":"GHSA-gxpj-cx7g-858c"},{"ecosystem":"npm","fixed":["4.3.1"],"introduced":["4.0.0"],"last_affected":[],"package":"debug","purl":null,"source":"GHSA-gxpj-cx7g-858c"},{"ecosystem":"npm","fixed":["4.3.1"],"introduced":["4.0.0"],"last_affected":[],"package":"debug","purl":"pkg:npm/debug","source":"GHSA-gxpj-cx7g-858c"}],"prev":{"headline":"method-override ReDoS when untrusted user input passed into X-HTTP-Method-Override header","id":"CVE-2017-16136"},"products":["debug node module"],"published":"2018-06-07","related":[{"cvss_score":3.5,"headline":"debug-js debug node.js useColors redos","id":"CVE-2017-20165","kev_date_added":null,"published":"2023-01-09"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-15","vendors":["HackerOne"]},"summary":"An attacker can cause a denial of service in the Node.js debug module by sending large untrusted input to the o formatter, blocking execution.","url":"https://insights.sbomify.com/CVE-2017-16137/"}