{"id":"CVE-2012-0787","published":"2013-11-23T18:00:00Z","modified":"2024-08-06T18:38:14Z","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…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00417,"percentile":0.36447,"provenance":"source"},"cwes":[],"references":[{"url":"http://secunia.com/advisories/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","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://github.com/hercules-team/augeas/commit/b8de6a8c","tags":["x_refsource_CONFIRM"]}],"priority":{"score":7.3,"factors":[{"name":"EPSS percentile","points":7.29}]},"euvd":{"id":"EUVD-2012-0818","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-cve-2012-0786-family-cve-2012-0786","parents":[{"from":"CVE-2012-0786","to":"CVE-2012-0787","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/transform.c"],"commits":["https://github.com/hercules-team/augeas/commit/163877441402e464266b45ee98e24bb652971def","https://github.com/hercules-team/augeas/commit/b8de6a8c5cfffb007149036ffa561ced4d11c462"],"basis":"shared function","functions":["augeas","clone_file"]}]}],"children":[{"from":"CVE-2012-0787","to":"CVE-2012-6607","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/transform.c"],"commits":["https://github.com/hercules-team/augeas/commit/b8de6a8c5cfffb007149036ffa561ced4d11c462","https://github.com/hercules-team/augeas/commit/163877441402e464266b45ee98e24bb652971def"],"basis":"shared function","functions":["augeas","clone_file"]}]},{"from":"CVE-2012-0787","to":"CVE-2013-6412","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/transform.c"],"commits":["https://github.com/hercules-team/augeas/commit/b8de6a8c5cfffb007149036ffa561ced4d11c462","https://github.com/hercules-team/augeas/commit/f5b4fc0ceb0e5a2be5f3a19f63ad936897a3ac26"],"basis":"shared function","functions":["augeas"]}]}]}}