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

# CVE-2012-0787

Publication date 23 November 2013

Last updated 24 July 2024

---

Ubuntu priority

**Low**

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

Toggle side navigation

## Description

The clone\_file function in transfer.c in Augeas before 1.0.0, when
copy\_if\_rename\_fails is set and EXDEV or EBUSY is returned by the rename
function, allows local users to overwrite arbitrary files and obtain
sensitive information via a bind mount on the (1) .augsave or (2)
destination file when using the backup save option, or (3) .augnew file
when using the newfile save option.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| augeas | 17.04 zesty | Not affected |
| 16.10 yakkety | Not affected |
| 16.04 LTS xenial | Not affected |
| 15.10 wily | Not affected |
| 15.04 vivid | Not affected |
| 14.10 utopic | Not affected |
| 14.04 LTS trusty | Not affected |
| 13.10 saucy | Not affected |
| 13.04 raring | Ignored end of life |
| 12.10 quantal | Ignored end of life |
| 12.04 LTS precise | Ignored end of life |
| 10.04 LTS lucid | Ignored end of life |

---

* [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-2012-0787?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 |
| --- | --- |
| augeas | * Upstream:   [?id=b8d](https://git.fedorahosted.org/cgit/augeas.git/commit/?id=b8de6a8c) |

## References

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

### Other references

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