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 EBUSY is returned by the…
- Published
- Updated
- Reserved
- Assigned by
- redhat
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.
Timeline
ID reserved
By redhat
- 22 months later
· 22 months later
Published
- 11 years later
· 11 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Low3.7 | AV:L/AC:H/Au:N/C:P/I:P/A:P |
- EPSS (exploitation in 30 days)
- 0.42% · top 64% of all CVEs (8 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Low 3.7.
Weakness
- n/a
Affected products
n/a
- affected n/a
References (5)
- 55811 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- http://augeas.net/news.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://bugzilla.redhat.com/show_bug.cgi?id=772261 (opens in a new tab)x_refsource_CONFIRMx_transferred
- RHSA-2013:1537 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- https://github.com/hercules-team/augeas/commit/b8de6a8c (opens in a new tab)x_refsource_CONFIRMx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2012-0787)Record last updated .