---
title: "CVE-2017-13089\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2017-13089?format=md
keywords: index, follow
---

# CVE-2017-13089

Publication date 26 October 2017

Last updated 25 August 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**8.8 · High**

[Score breakdown](https://ubuntu.com/security/CVE-2017-13089?format=md#impact-score)

Toggle side navigation

## 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.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| wget | 17.10 artful | Fixed 1.19.1-3ubuntu1.1 |
| 17.04 zesty | Fixed 1.18-2ubuntu1.1 |
| 16.04 LTS xenial | Fixed 1.17.1-1ubuntu1.3 |
| 14.04 LTS trusty | Fixed 1.15-1ubuntu1.14.04.3 |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2017-13089?format=md#patch-details)

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| wget | * Upstream:   [?id=d89](http://git.savannah.gnu.org/cgit/wget.git/commit/?id=d892291fb8ace4c3b734ea5125770989c215df3f) |

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

8.8 · High

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | Low |
  | Privileges required | None |
  | User interaction | Required |
  | Scope | Unchanged |
  | Confidentiality impact | High |
  | Integrity impact | High |
  | Availability impact | High |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 8.8 · High |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-13089)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2017-13089)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2017-13089)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2017-13089)

### Related Ubuntu Security Notices (USN)

+ [USN-3464-2](https://usn.ubuntu.com/USN-3464-2)
+ Wget vulnerabilities
+ 30 October 2017

+ [USN-3464-1](https://usn.ubuntu.com/USN-3464-1)
+ Wget vulnerabilities
+ 26 October 2017

### Other references

* <https://www.viestintavirasto.fi/en/cybersecurity/vulnerabilities/2017/haavoittuvuus-2017-037.html>
* <https://www.cve.org/CVERecord?id=CVE-2017-13089>
