CVE-2012-0787 json
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…
published 2013-11-23 12 y ago modified 2026-06-16 4 mo ago also EUVD-2012-0818
- cvss
- 3.7
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 36%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- augeas Debian 14, Debian 13, Debian 12 1.0.0-1
debian advisories DEBIAN-CVE-2012-0787
- augeas storage 3, RHEL 6 1.0.0-5.el6
- augeas-libs RHEL 6 1.0.0-5.el6
red hat advisories RHSA-2013:1537
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2012-0787 updated cvss 2.6
augeas: susceptible to mountpoint attack
-
Red Hat OpenStack Platform 3 augeasaffected: no fix available
-
Red Hat Enterprise Linux Desktop (v. 6) augeas 1.0.0-5.el6, augeas-libs 1.0.0-5.el6 Red Hat Enterprise Linux Desktop Optional (v. 6) augeas 1.0.0-5.el6, augeas-libs 1.0.0-5.el6 Red Hat Enterprise Linux HPC Node (v. 6) augeas 1.0.0-5.el6, augeas-libs 1.0.0-5.el6 Red Hat Enterprise Linux HPC Node Optional (v. 6) augeas 1.0.0-5.el6, augeas-libs 1.0.0-5.el6 Red Hat Enterprise Linux Server (v. 6) augeas 1.0.0-5.el6, augeas-libs 1.0.0-5.el6 Red Hat Enterprise Linux Server Optional (v. 6) augeas 1.0.0-5.el6, augeas-libs 1.0.0-5.el6fixed: vendor fix RHSA-2013:1537
+4 more productsfewer
Red Hat Enterprise Linux Workstation (v. 6) augeas 1.0.0-5.el6, augeas-libs 1.0.0-5.el6 Red Hat Enterprise Linux Workstation Optional (v. 6) augeas 1.0.0-5.el6, augeas-libs 1.0.0-5.el6 Red Hat Storage Server 3 augeas 1.0.0-5.el6, augeas-libs 1.0.0-5.el6 Red Hat virt agents (not vdsm) for server augeas 1.0.0-5.el6, augeas-libs 1.0.0-5.el6
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.42% chance of exploitation in the next 30 days, higher than 36% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/hercules-team/augeas/commit/b8de6a8c referenced PoC, tagged "exploit" by a source, unverified
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=772261 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 3.7 | AV:L/AC:H/Au:N/C:P/I:P/A:P |
References
-
github.com
/hercules-team/augeas/commit/b8de6a8c
exploit, patch
-
bugzilla.redhat.com
/show_bug.cgi?id=772261
exploit
-
rhn.redhat.com
/errata/RHSA-2013-1537.html
vendor-advisory
-
secunia.com
/advisories/55811
third-party-advisory, vendor-advisory
- augeas.net /news.html
Sources
- CVE List CVE-2012-0787
- NVD CVE-2012-0787
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.