# CVE-2012-0787

- Priority: **Routine**
- Reason: Not severe (CVSS 3.7, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2013-11-23 · Modified: 2024-08-06
- Aliases: DEBIAN-CVE-2012-0787
- Record: https://cvemate.com/vulnerability/CVE-2012-0787 · JSON: https://cvemate.com/vulnerability/CVE-2012-0787/json

## Description

```text
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.
```

## Signals

- CVSS: 3.7 low (v2.0, NVD) AV:L/AC:H/Au:N/C:P/I:P/A:P
- EPSS: 0.417%, percentile 37.952%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 2 (github, reference)

## Affected

- augeas augeas: ≤ 0.10.0 \| 0.0.1 \| 0.0.2 \| 0.0.3 \| 0.0.4 \| 0.0.5 \| 0.0.6 \| 0.0.7 \| 0.0.8 \| 0.1.0 \| 0.1.1 \| 0.2.0 \| 0.2.1 \| 0.2.2 \| 0.3.0 \| 0.3.1 \| 0.3.2 \| 0.3.3 \| 0.3.4 \| 0.3.5 \| 0.3.6 \| 0.4.0 \| 0.4.1 \| 0.4.2 \| 0.5.0 \| 0.5.1 \| 0.5.2 \| 0.5.3 \| 0.6.0 \| 0.7.0 \| 0.7.1 \| 0.7.2 \| 0.7.3 \| 0.7.4 \| 0.8.0 \| 0.8.1 \| 0.9.0
- debian augeas (Debian): \< 1.0.0-1
- redhat enterprise\_linux: 6.0

## References

- <http://secunia.com/advisories/55811>
- <http://augeas.net/news.html>
- <https://bugzilla.redhat.com/show_bug.cgi?id=772261>
- <http://rhn.redhat.com/errata/RHSA-2013-1537.html>
- <https://github.com/hercules-team/augeas/commit/b8de6a8c>
- <https://security-tracker.debian.org/tracker/CVE-2012-0787>

---

Data as of 2026-12-05T07:57:41.801Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
