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

# CVE-2011-2697

Publication date 29 July 2011

Last updated 24 July 2024

---

Ubuntu priority

**Medium**

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

Toggle side navigation

## Description

foomatic-rip-hplip in HP Linux Imaging and Printing (HPLIP) 3.11.5 allows
remote attackers to execute arbitrary code via a crafted
\*FoomaticRIPCommandLine field in a .ppd file.

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

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| foomatic-filters | 11.04 natty | Not affected |
| 10.10 maverick | Not affected |
| 10.04 LTS lucid | Not affected |
| 8.04 LTS hardy | Fixed 3.0.2-20071204-0ubuntu2.3 |
| hplip | 11.04 natty | Not affected |
| 10.10 maverick | Not affected |
| 10.04 LTS lucid | Not affected |
| 8.04 LTS hardy | 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)
* [Patch details](https://ubuntu.com/security/CVE-2011-2697?format=md#patch-details)

## Notes

---

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

we don't ship this script in our hplip packages. hplip is built
with --disable-foomatic-rip-hplip-install.
hardy's foomatic-filters package does have this script though.

### 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 |
| --- | --- |
| foomatic-filters | * Upstream:   <http://bzr.linuxfoundation.org/loggerhead/openprinting/foomatic-3.0/foomatic-filters/revision/140> |

## References

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

### Related Ubuntu Security Notices (USN)

+ [USN-1194-1](https://usn.ubuntu.com/USN-1194-1)
+ Foomatic filters vulnerabilities
+ 22 August 2011

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2011-2697>
