---
title: 'USN-3012-1: Wget vulnerability | Ubuntu security notices'
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/notices/USN-3012-1
---

1. [Ubuntu Security Notices](https://ubuntu.com/security/notices)
2. USN-3012-1

---

# USN-3012-1: Wget vulnerability

Publication date

20 June 2016

Overview

Wget could be made to overwrite files.

Releases

[16.04 LTS](https://ubuntu.com/security/notices?release=xenial)
[15.10](https://ubuntu.com/security/notices?release=wily)
[14.04 LTS](https://ubuntu.com/security/notices?release=trusty)
[12.04](https://ubuntu.com/security/notices?release=precise)

---

Open side navigation

## Packages

* [wget](https://ubuntu.com/security/cves?package=wget) - retrieves files from the web

## Details

Dawid Golunski discovered that Wget incorrectly handled filenames when
being redirected from an HTTP to an FTP URL. A malicious server could
possibly use this issue to overwrite local files.

## Update instructions

In general, a standard system update will make all the necessary changes.

[Learn more about how to get the fixes.](https://ubuntu.com/security/cves/about#security)

The problem can be corrected by updating your system to the following package versions:

| Ubuntu Release | Package Version |
| --- | --- |
| 16.04 LTS xenial | [wget](https://launchpad.net/ubuntu/+source/wget) –  [1.17.1-1ubuntu1.1](https://launchpad.net/ubuntu/+source/wget/1.17.1-1ubuntu1.1) | | |
| 15.10 wily | [wget](https://launchpad.net/ubuntu/+source/wget) –  [1.16.1-1ubuntu1.1](https://launchpad.net/ubuntu/+source/wget/1.16.1-1ubuntu1.1) | | |
| 14.04 LTS trusty | [wget](https://launchpad.net/ubuntu/+source/wget) –  [1.15-1ubuntu1.14.04.2](https://launchpad.net/ubuntu/+source/wget/1.15-1ubuntu1.14.04.2) | | |
| 12.04 precise | [wget](https://launchpad.net/ubuntu/+source/wget) –  [1.13.4-2ubuntu1.4](https://launchpad.net/ubuntu/+source/wget/1.13.4-2ubuntu1.4) | | |

---

### Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.

[Get Ubuntu Pro](https://ubuntu.com/pro)

## References

* [CVE-2016-4971](https://ubuntu.com/security/CVE-2016-4971)
