{"id":"CVE-2012-0787","state":"PUBLISHED","title":"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 overwrit","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.","publishedAt":"2013-11-23T18:00:00.000Z","updatedAt":"2024-08-06T18:38:14.202Z","severity":null,"assigner":"redhat","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://secunia.com/advisories/55811","http://augeas.net/news.html","https://bugzilla.redhat.com/show_bug.cgi?id=772261","http://rhn.redhat.com/errata/RHSA-2013-1537.html","https://github.com/hercules-team/augeas/commit/b8de6a8c"],"weaknesses":[],"ingestedAt":"2026-10-29T19:40:10.484Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2012/0xxx/CVE-2012-0787.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2012-0787","state":"PUBLISHED","datePublished":"2013-11-23T18:00:00.000Z","dateUpdated":"2024-08-06T18:38:14.202Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2012-01-19T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://secunia.com/advisories/55811","name":"55811","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://augeas.net/news.html","tags":["x_refsource_CONFIRM"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=772261","tags":["x_refsource_CONFIRM"]},{"url":"http://rhn.redhat.com/errata/RHSA-2013-1537.html","name":"RHSA-2013:1537","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://github.com/hercules-team/augeas/commit/b8de6a8c","tags":["x_refsource_CONFIRM"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"redhat","dateUpdated":"2013-11-23T18:28:53.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749"},"datePublic":"2012-12-21T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"secalert@redhat.com","ID":"CVE-2012-0787","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"55811","refsource":"SECUNIA","url":"http://secunia.com/advisories/55811"},{"name":"http://augeas.net/news.html","refsource":"CONFIRM","url":"http://augeas.net/news.html"},{"name":"https://bugzilla.redhat.com/show_bug.cgi?id=772261","refsource":"CONFIRM","url":"https://bugzilla.redhat.com/show_bug.cgi?id=772261"},{"name":"RHSA-2013:1537","refsource":"REDHAT","url":"http://rhn.redhat.com/errata/RHSA-2013-1537.html"},{"name":"https://github.com/hercules-team/augeas/commit/b8de6a8c","refsource":"CONFIRM","url":"https://github.com/hercules-team/augeas/commit/b8de6a8c"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://secunia.com/advisories/55811","name":"55811","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://augeas.net/news.html","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=772261","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://rhn.redhat.com/errata/RHSA-2013-1537.html","name":"RHSA-2013:1537","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"https://github.com/hercules-team/augeas/commit/b8de6a8c","tags":["x_refsource_CONFIRM","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-06T18:38:14.202Z"}}]}}}