Skip to content
OpenAdvisories
Unscored CVE-2012-0787 EUVD-2012-0818GHSA-8qr9-h3xv-vhx6

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…

Published Nov 23, 2013 · Updated Aug 6, 2024 · 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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 augeas 1.0.0-1 —
Debian 13 augeas 1.0.0-1 —
Debian 12 augeas 1.0.0-1 —
Debian 6.0 augeas 0.7.2-1+deb6u1 DLA-28-1
ReleasePackageFixed inAdvisory
RHEL 6 augeas +2 1.0.0-5.el6 RHSA-2013:1537
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Gluster Storage 3 augeas 1.0.0-5.el6 RHSA-2013:1537

Advisories 2

References