What’s Vulnerable › Vulnerabilities
CVE-2012-0787
- Severity: low (CVSS 3.7 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2013-11-23 · updated 2026-06-16
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.
Affected products
- Red Hat, Inc. augeas: through 0.10.0; 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.5, 0.0.6 (+30)
- Red Hat Enterprise Linux: 6.0
References
- http://augeas.net/news.html
- http://rhn.redhat.com/errata/RHSA-2013-1537.html
- http://secunia.com/advisories/55811
- https://bugzilla.redhat.com/show_bug.cgi?id=772261
- https://github.com/hercules-team/augeas/commit/b8de6a8c
- http://augeas.net/news.html
- http://rhn.redhat.com/errata/RHSA-2013-1537.html
- http://secunia.com/advisories/55811
- https://bugzilla.redhat.com/show_bug.cgi?id=772261
- https://github.com/hercules-team/augeas/commit/b8de6a8c
Get alerted when CVE-2012-0787 or the next vulnerability affects your stack