{"api_version":"1","generated_at":"2026-04-23T01:43:05+00:00","cve":"CVE-2017-13089","urls":{"html":"https://cve.report/CVE-2017-13089","api":"https://cve.report/api/cve/CVE-2017-13089.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2017-13089","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2017-13089"},"summary":{"title":"CVE-2017-13089","description":"The http.c:skip_short_body() function is called in some circumstances, such as when processing redirects. When the response is sent chunked in wget before 1.19.2, the chunk parser uses strtol() to read each chunk's length, but doesn't check that the chunk length is a non-negative number. The code then tries to skip the chunk in pieces of 512 bytes by using the MIN() macro, but ends up passing the negative chunk length to connect.c:fd_read(). As fd_read() takes an int argument, the high 32 bits of the chunk length are discarded, leaving fd_read() with a completely attacker controlled length argument.","state":"PUBLIC","assigner":"cert@cert.org","published_at":"2017-10-27 19:29:00","updated_at":"2017-12-30 02:29:00"},"problem_types":["CWE-119"],"metrics":[],"references":[{"url":"http://www.securitytracker.com/id/1039661","name":"1039661","refsource":"SECTRACK","tags":["Issue Tracking","Third Party Advisory","VDB Entry"],"title":"wget Buffer Overflows in Processing HTTP Data Lets Remote Users Execute Arbitrary Code - SecurityTracker","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/r1b/CVE-2017-13089","name":"https://github.com/r1b/CVE-2017-13089","refsource":"MISC","tags":["Issue Tracking","Third Party Advisory"],"title":"GitHub - r1b/CVE-2017-13089: PoC for wget v1.19.1","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.debian.org/security/2017/dsa-4008","name":"DSA-4008","refsource":"DEBIAN","tags":["Issue Tracking","Third Party Advisory"],"title":"Debian -- Security Information -- DSA-4008-1 wget","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://git.savannah.gnu.org/cgit/wget.git/commit/?id=d892291fb8ace4c3b734ea5125770989c215df3f","name":"http://git.savannah.gnu.org/cgit/wget.git/commit/?id=d892291fb8ace4c3b734ea5125770989c215df3f","refsource":"CONFIRM","tags":["Issue Tracking","Patch","Third Party Advisory"],"title":"wget.git - GNU Wget","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://security.gentoo.org/glsa/201711-06","name":"GLSA-201711-06","refsource":"GENTOO","tags":["Issue Tracking","Third Party Advisory"],"title":"GNU Wget: Multiple vulnerabilities (GLSA 201711-06) — Gentoo Security","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://access.redhat.com/errata/RHSA-2017:3075","name":"RHSA-2017:3075","refsource":"REDHAT","tags":[],"title":"Red Hat Customer Portal","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/101592","name":"101592","refsource":"BID","tags":["Issue Tracking","Third Party Advisory","VDB Entry"],"title":"GNU wget CVE-2017-13089 Stack Buffer Overflow Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://www.synology.com/support/security/Synology_SA_17_62_Wget","name":"https://www.synology.com/support/security/Synology_SA_17_62_Wget","refsource":"CONFIRM","tags":[],"title":"Synology-SA-17:62 Wget | Synology Inc.","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.viestintavirasto.fi/en/cybersecurity/vulnerabilities/2017/haavoittuvuus-2017-037.html","name":"https://www.viestintavirasto.fi/en/cybersecurity/vulnerabilities/2017/haavoittuvuus-2017-037.html","refsource":"MISC","tags":["Issue Tracking","Patch","Third Party Advisory"],"title":"Viestintävirasto - \n\n\n\t \n\t\n\t \n\t\n\t \n\t\n\t \n\t\n\t \n\tCritical vulnerabilities in Wget","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-13089","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-13089","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2017","cve_id":"13089","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"8.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2017","cve_id":"13089","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"9.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2017","cve_id":"13089","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"8.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2017","cve_id":"13089","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"9.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2017","cve_id":"13089","vulnerable":"1","versionEndIncluding":"1.19.1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"gnu","cpe5":"wget","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2017-13089","qid":"378216","title":"Virtuozzo Linux Security Update for wget (VZLSA-2017:3075)"},{"cve":"CVE-2017-13089","qid":"710494","title":"Gentoo Linux GNU Wget Multiple Vulnerabilities (GLSA 201711-06)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cert@cert.org","DATE_PUBLIC":"2017-10-27T15:00:00.000Z","ID":"CVE-2017-13089","STATE":"PUBLIC","TITLE":"GNU Wget: stack overflow in HTTP protocol handling"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"Wget","version":{"version_data":[{"platform":"any","version_value":"prior to 1.19.2"}]}}]},"vendor_name":"GNU Project"}]}},"credit":["Antti Levomäki, Christian Jalio, Joonas Pihlaja from Forcepoint"],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"The http.c:skip_short_body() function is called in some circumstances, such as when processing redirects. When the response is sent chunked in wget before 1.19.2, the chunk parser uses strtol() to read each chunk's length, but doesn't check that the chunk length is a non-negative number. The code then tries to skip the chunk in pieces of 512 bytes by using the MIN() macro, but ends up passing the negative chunk length to connect.c:fd_read(). As fd_read() takes an int argument, the high 32 bits of the chunk length are discarded, leaving fd_read() with a completely attacker controlled length argument."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.0"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-121: Stack-based Buffer Overflow"}]}]},"references":{"reference_data":[{"name":"https://www.viestintavirasto.fi/en/cybersecurity/vulnerabilities/2017/haavoittuvuus-2017-037.html","refsource":"MISC","url":"https://www.viestintavirasto.fi/en/cybersecurity/vulnerabilities/2017/haavoittuvuus-2017-037.html"},{"name":"GLSA-201711-06","refsource":"GENTOO","url":"https://security.gentoo.org/glsa/201711-06"},{"name":"DSA-4008","refsource":"DEBIAN","url":"http://www.debian.org/security/2017/dsa-4008"},{"name":"https://www.synology.com/support/security/Synology_SA_17_62_Wget","refsource":"CONFIRM","url":"https://www.synology.com/support/security/Synology_SA_17_62_Wget"},{"name":"http://git.savannah.gnu.org/cgit/wget.git/commit/?id=d892291fb8ace4c3b734ea5125770989c215df3f","refsource":"CONFIRM","url":"http://git.savannah.gnu.org/cgit/wget.git/commit/?id=d892291fb8ace4c3b734ea5125770989c215df3f"},{"name":"101592","refsource":"BID","url":"http://www.securityfocus.com/bid/101592"},{"name":"https://github.com/r1b/CVE-2017-13089","refsource":"MISC","url":"https://github.com/r1b/CVE-2017-13089"},{"name":"1039661","refsource":"SECTRACK","url":"http://www.securitytracker.com/id/1039661"},{"name":"RHSA-2017:3075","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2017:3075"}]},"solution":"Patch to Wget 1.19.2 or equivalent version from your operating system distribution."},"nvd":{"publishedDate":"2017-10-27 19:29:00","lastModifiedDate":"2017-12-30 02:29:00","problem_types":["CWE-119"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:C/I:C/A:C","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE","baseScore":9.3},"severity":"HIGH","exploitabilityScore":8.6,"impactScore":10,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:gnu:wget:*:*:*:*:*:*:*:*","versionEndIncluding":"1.19.1","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2017","CveId":"13089","Ordinal":"110508","Title":"CVE-2017-13089","CVE":"CVE-2017-13089","Year":"2017"},"notes":[{"CveYear":"2017","CveId":"13089","Ordinal":"1","NoteData":"The http.c:skip_short_body() function is called in some circumstances, such as when processing redirects. When the response is sent chunked in wget before 1.19.2, the chunk parser uses strtol() to read each chunk's length, but doesn't check that the chunk length is a non-negative number. The code then tries to skip the chunk in pieces of 512 bytes by using the MIN() macro, but ends up passing the negative chunk length to connect.c:fd_read(). As fd_read() takes an int argument, the high 32 bits of the chunk length are discarded, leaving fd_read() with a completely attacker controlled length argument.","Type":"Description","Title":null},{"CveYear":"2017","CveId":"13089","Ordinal":"2","NoteData":"2017-10-27","Type":"Other","Title":"Published"},{"CveYear":"2017","CveId":"13089","Ordinal":"3","NoteData":"2017-12-29","Type":"Other","Title":"Modified"}]}}}