CVE-2012-0787
Summary
| CVE | CVE-2012-0787 |
|---|---|
| State | PUBLISHED |
| Assigner | redhat |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2013-11-23 18:55:04 UTC |
| Updated | 2026-04-29 01:13:23 UTC |
| 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. |
Risk And Classification
Primary CVSS: v2.0 3.7 from [email protected]
AV:L/AC:H/Au:N/C:P/I:P/A:P
EPSS: 0.001180000 probability, percentile 0.303200000 (date 2026-04-29)
Problem Types: NVD-CWE-noinfo | n/a
CVSS v2.0 Breakdown
Access Vector
LocalAccess Complexity
HighAuthentication
NoneConfidentiality
PartialIntegrity
PartialAvailability
PartialAV:L/AC:H/Au:N/C:P/I:P/A:P
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Augeas | Augeas | 0.0.1 | All | All | All |
| Application | Augeas | Augeas | 0.0.2 | All | All | All |
| Application | Augeas | Augeas | 0.0.3 | All | All | All |
| Application | Augeas | Augeas | 0.0.4 | All | All | All |
| Application | Augeas | Augeas | 0.0.5 | All | All | All |
| Application | Augeas | Augeas | 0.0.6 | All | All | All |
| Application | Augeas | Augeas | 0.0.7 | All | All | All |
| Application | Augeas | Augeas | 0.0.8 | All | All | All |
| Application | Augeas | Augeas | 0.1.0 | All | All | All |
| Application | Augeas | Augeas | 0.1.1 | All | All | All |
| Application | Augeas | Augeas | 0.2.0 | All | All | All |
| Application | Augeas | Augeas | 0.2.1 | All | All | All |
| Application | Augeas | Augeas | 0.2.2 | All | All | All |
| Application | Augeas | Augeas | 0.3.0 | All | All | All |
| Application | Augeas | Augeas | 0.3.1 | All | All | All |
| Application | Augeas | Augeas | 0.3.2 | All | All | All |
| Application | Augeas | Augeas | 0.3.3 | All | All | All |
| Application | Augeas | Augeas | 0.3.4 | All | All | All |
| Application | Augeas | Augeas | 0.3.5 | All | All | All |
| Application | Augeas | Augeas | 0.3.6 | All | All | All |
| Application | Augeas | Augeas | 0.4.0 | All | All | All |
| Application | Augeas | Augeas | 0.4.1 | All | All | All |
| Application | Augeas | Augeas | 0.4.2 | All | All | All |
| Application | Augeas | Augeas | 0.5.0 | All | All | All |
| Application | Augeas | Augeas | 0.5.1 | All | All | All |
| Application | Augeas | Augeas | 0.5.2 | All | All | All |
| Application | Augeas | Augeas | 0.5.3 | All | All | All |
| Application | Augeas | Augeas | 0.6.0 | All | All | All |
| Application | Augeas | Augeas | 0.7.0 | All | All | All |
| Application | Augeas | Augeas | 0.7.1 | All | All | All |
| Application | Augeas | Augeas | 0.7.2 | All | All | All |
| Application | Augeas | Augeas | 0.7.3 | All | All | All |
| Application | Augeas | Augeas | 0.7.4 | All | All | All |
| Application | Augeas | Augeas | 0.8.0 | All | All | All |
| Application | Augeas | Augeas | 0.8.1 | All | All | All |
| Application | Augeas | Augeas | 0.9.0 | All | All | All |
| Application | Augeas | Augeas | All | All | All | All |
| Operating System | Redhat | Enterprise Linux | 6.0 | All | All | All |
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| augeas.net/news.html | af854a3a-2127-422b-91ae-364da2661108 | augeas.net | |
| Security Advisory SA55811 - Red Hat update for augeas - Secunia | af854a3a-2127-422b-91ae-364da2661108 | secunia.com | Vendor Advisory |
| Red Hat Customer Portal | af854a3a-2127-422b-91ae-364da2661108 | rhn.redhat.com | Vendor Advisory |
| Prevent cross-mountpoint attacks via .augsave during saving · hercules-team/augeas@b8de6a8 · GitHub | af854a3a-2127-422b-91ae-364da2661108 | github.com | Exploit, Patch |
| Bug 772261 – CVE-2012-0787 augeas: susceptible to mountpoint attack | af854a3a-2127-422b-91ae-364da2661108 | bugzilla.redhat.com | Exploit |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.