{"id":"DEBIAN-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-28T20:07:39.790735Z","published":"2013-11-23T18:55:04.093Z","upstream":["CVE-2012-0787"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2012-0787"}],"affected":[{"package":{"name":"augeas","ecosystem":"Debian:11","purl":"pkg:deb/debian/augeas?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.0-1"}]}],"ecosystem_specific":{"urgency":"low"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2012-0787.json"}},{"package":{"name":"augeas","ecosystem":"Debian:12","purl":"pkg:deb/debian/augeas?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.0-1"}]}],"ecosystem_specific":{"urgency":"low"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2012-0787.json"}},{"package":{"name":"augeas","ecosystem":"Debian:13","purl":"pkg:deb/debian/augeas?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.0-1"}]}],"ecosystem_specific":{"urgency":"low"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2012-0787.json"}},{"package":{"name":"augeas","ecosystem":"Debian:14","purl":"pkg:deb/debian/augeas?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.0-1"}]}],"ecosystem_specific":{"urgency":"low"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2012-0787.json"}}],"schema_version":"1.7.5"}