CVE-2012-0787: The clone_file function in transfer.c in Augeas before 1.0.0, when copy_if_rename_fails is set and EXDEV or EB
CVE-2012-0787 is a low-severity flaw (CVSS 3.7) affecting enterprise linux, augeas. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Public exploit reference
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 3.7 (Low) |
| EPSS exploit chance | 0.4% (top 64%) |
| CISA exploited list | No |
| Published | 2013-11-23 |
| Last modified | 2026-06-16 |
Last updated 2026-06-16 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2012-0787?
enterprise linux: mitigate or apply the listed mitigation; augeas: upgrade to newer than 0.10.0. Exact commands for each OS are on this page.
Is CVE-2012-0787 being exploited?
CVE-2012-0787 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2012-0787 affect?
CVE-2012-0787 affects enterprise linux, augeas. Severity is low (CVSS 3.7). 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 bin
How urgent is CVE-2012-0787?
Priority 32/100. Public exploit reference; On your watchlist
Related CVEs
- CVE-2023-42756 MEDIUM 4.4 UPGRADE MITIGATE A flaw was found in the Netfilter subsystem of the Linux kernel
- CVE-2023-39417 HIGH 7.5 UPGRADE MITIGATE IN THE EXTENSION SCRIPT, a SQL Injection vulnerability was found in PostgreSQL if it uses @extowner@, @extsche
- CVE-2026-104047 MEDIUM 5.3 DOWNGRADE DOWNGRADE A flaw was found in SSSD
- CVE-2026-104040 MEDIUM 4.4 DOWNGRADE DOWNGRADE A flaw was found in SSSD
- CVE-2026-104029 LOW 3.3 DOWNGRADE DOWNGRADE A flaw was found in SSSD