---
title: "CVE-2010-2251\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-2010-2251?format=md
keywords: index, follow
---

# CVE-2010-2251

Publication date 6 July 2010

Last updated 24 July 2024

---

Ubuntu priority

**Medium**

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

Toggle side navigation

## Description

The get1 command, as used by lftpget, in LFTP before 4.0.6 does not
properly validate a server-provided filename before determining the
destination filename of a download, which allows remote servers to create
or overwrite arbitrary files via a Content-Disposition header that suggests
a crafted filename, and possibly execute arbitrary code as a consequence of
writing to a dotfile in a home directory.

[Read the notes from the security team](https://ubuntu.com/security/CVE-2010-2251?format=md#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| lftp | 10.04 LTS lucid | Fixed 4.0.2-1ubuntu0.1 |
| 9.10 karmic | Fixed 3.7.15-1ubuntu2.1 |
| 9.04 jaunty | Fixed 3.7.8-1ubuntu0.1 |
| 8.04 LTS hardy | Fixed 3.6.1-1ubuntu0.1 |
| 6.06 LTS dapper | Not affected |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## Notes

---

### [mdeslaur](https://launchpad.net/~mdeslaur)

dapper's lftp is too old to support server-suggested filenames

## References

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

### Related Ubuntu Security Notices (USN)

+ [USN-984-1](https://usn.ubuntu.com/USN-984-1)
+ LFTP vulnerability
+ 7 September 2010

### Other references

* <http://www.ocert.org/advisories/ocert-2010-001.html>
* <http://www.debian.org/security/2010/dsa-2085>
* <https://www.cve.org/CVERecord?id=CVE-2010-2251>
