{"id":"CVE-2012-0787","details":"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.","modified":"2026-04-16T06:23:42.471581520Z","published":"2013-11-23T18:55:04Z","references":[{"type":"ADVISORY","url":"http://rhn.redhat.com/errata/RHSA-2013-1537.html"},{"type":"ADVISORY","url":"http://secunia.com/advisories/55811"},{"type":"EVIDENCE","url":"https://bugzilla.redhat.com/show_bug.cgi?id=772261"},{"type":"EVIDENCE","url":"https://github.com/hercules-team/augeas/commit/b8de6a8c"},{"type":"FIX","url":"https://github.com/hercules-team/augeas/commit/b8de6a8c"},{"type":"WEB","url":"http://augeas.net/news.html"}],"schema_version":"1.7.5"}