CVE-2012-0787
Status: ModifiedLow (3.7)—
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.
CVSS
- Version: 2.0
- Vector: AV:L/AC:H/Au:N/C:P/I:P/A:P
- Base score: 3.7
Exploitation probability (EPSS)
- Probability of exploitation in the next 30 days: 0.41%
- Percentile among all scored CVEs: 34
- Score date: 10/14/2026
EPSS (Exploit Prediction Scoring System, FIRST) estimates how likely a vulnerability is to be exploited in the wild within 30 days. It complements CVSS (impact) and CISA KEV (confirmed exploitation).
Affected technologies (2)
CWEs
- NVD-CWE-noinfo
References
- http://augeas.net/news.html
- http://rhn.redhat.com/errata/RHSA-2013-1537.html
- http://secunia.com/advisories/55811
- https://bugzilla.redhat.com/show_bug.cgi?id=772261
- https://github.com/hercules-team/augeas/commit/b8de6a8c
- http://augeas.net/news.html
- http://rhn.redhat.com/errata/RHSA-2013-1537.html
- http://secunia.com/advisories/55811
- https://bugzilla.redhat.com/show_bug.cgi?id=772261
- https://github.com/hercules-team/augeas/commit/b8de6a8c
Raw JSON (NVD)
Show
{
"id": "CVE-2012-0787",
"cveTags": [],
"metrics": {
"cvssMetricV2": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"cvssData": {
"version": "2.0",
"baseScore": 3.7,
"accessVector": "LOCAL",
"vectorString": "AV:L/AC:H/Au:N/C:P/I:P/A:P",
"authentication": "NONE",
"integrityImpact": "PARTIAL",
"accessComplexity": "HIGH",
"availabilityImpact": "PARTIAL",
"confidentialityImpact": "PARTIAL"
},
"acInsufInfo": false,
"impactScore": 6.4,
"baseSeverity": "LOW",
"obtainAllPrivilege": false,
"exploitabilityScore": 1.9,
"obtainUserPrivilege": false,
"obtainOtherPrivilege": false,
"userInteractionRequired": true
}
]
},
"affected": [
{
"source": "secalert@redhat.com",
"affectedData": [
{
"vendor": "n/a",
"product": "n/a",
"versions": [
{
"status": "affected",
"version": "n/a"
}
]
}
]
}
],
"published": "2013-11-23T18:55:04.093",
"references": [
{
"url": "http://augeas.net/news.html",
"source": "secalert@redhat.com"
},
{
"url": "http://rhn.redhat.com/errata/RHSA-2013-1537.html",
"tags": [
"Vendor Advisory"
],
"source": "secalert@redhat.com"
},
{
"url": "http://secunia.com/advisories/55811",
"tags": [
"Vendor Advisory"
],
"source": "secalert@redhat.com"
},
{
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=772261",
"tags": [
"Exploit"
],
"source": "secalert@redhat.com"
},
{
"url": "https://github.com/hercules-team/augeas/commit/b8de6a8c",
"tags": [
"Exploit",
"Patch"
],
"source": "secalert@redhat.com"
},
{
"url": "http://augeas.net/news.html",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://rhn.redhat.com/errata/RHSA-2013-1537.html",
"tags": [
"Vendor Advisory"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://secunia.com/advisories/55811",
"tags": [
"Vendor Advisory"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=772261",
"tags": [
"Exploit"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://github.com/hercules-team/augeas/commit/b8de6a8c",
"tags": [
"Exploit",
"Patch"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
}
],
"vulnStatus": "Modified",
"weaknesses": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"description": [
{
"lang": "en",
"value": "NVD-CWE-noinfo"
}
]
}
],
"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."
},
{
"lang": "es",
"value": "La función clone_file en transfer.c de Augeas anterior a la versión 1.0.0 cuando se establece EXDEV o EBUSY en copy_if_rename_fails es devuelto por la función rename, permite a usuarios locales sobreescribir archivos arbitrarios y obtener información sensible a través de un bind mount en (1) .augsave o (2) el archivo de destino cuando se usa la opción de guardado de copia de seguridad, o (3) el archivo .augnew cuando se usa la opción de guardado newfile."
}
],
"lastModified": "2026-06-16T23:38:15.597",
"configurations": [
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "2F6AB192-9D7D-4A9A-8995-E53A9DE9EAFC"
}
],
"operator": "OR"
}
]
},
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:augeas:augeas:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "D979BDB9-28B0-400D-B65E-9B548BCDA69F",
"versionEndIncluding": "0.10.0"
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.0.1:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "CBD72801-1F4D-4BA5-AB75-8BC61B646E63"
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.0.2:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "57C1BEAB-B9DA-43F9-A2B0-BA55C957308D"
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.0.3:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "DAEA5E15-B664-4D81-B5D9-1E8A126B553B"
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.0.4:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "54FD4113-4C32-4D58-A42A-5F8F203042EE"
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.0.5:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "C10430FE-B34E-454D-8F67-9F31FB8AE1A3"
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.0.6:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "9DE3B830-29A4-49A5-9EB2-87D02C306E9B"
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.0.7:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "B59B7BD0-020B-426E-9024-0E8BB75751DD"
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.0.8:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "B62FE3CD-E3F6-4D52-8ABF-04C747D0EDDD"
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.1.0:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "063D64F9-5559-49EA-BD71-DAD5C2AA1EE0"
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.1.1:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "1E693B26-C911-44EF-861C-C4C4B970E28E"
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.2.0:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "4CE410BD-F883-46B5-8CF2-3AB6C7B64367"
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.2.1:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "3BD5BF14-EFF5-4099-A886-FB9629B91D2A"
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.2.2:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "C43D1EBC-3730-432F-B80A-6E4738A72B20"
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.3.0:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "6531B2D8-A14E-4B3F-A000-35123196A731"
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.3.1:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "5E1AADCF-31E0-444A-ADBF-59CC9F1FE989"
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.3.2:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "EB56B2E7-E72D-4D6D-A47D-2B4CB18F95C7"
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.3.3:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "10D5AC52-FC81-4136-A867-FD236AB18BD4"
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.3.4:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "74872B68-0D2F-41D6-A287-1F2428280608"
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.3.5:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "F6AD2B6A-9858-4B0D-B937-4D209C31596E"
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.3.6:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "4C5210B9-7A79-4800-ABF8-62DC41786933"
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.4.0:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "2937BD47-29F3-4C5C-96B2-E5CE512ACC9F"
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.4.1:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "D1BF93A5-9D16-4D6B-81C4-37E217FCB6C2"
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.4.2:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "9670552D-DB24-476D-97F0-F90BB56803DF"
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.5.0:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "3463B564-C4CF-4D6E-A415-F165E5FE92E2"
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.5.1:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "A1BD280E-F528-49D6-87B9-C1DFBDC70ACF"
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.5.2:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "0B228890-0871-4A07-9F72-8AE0926CC68B"
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.5.3:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "183E51ED-C320-412D-AB1E-EF592FD364B7"
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.6.0:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "6822D53A-76BD-4B8F-8F5C-0FB28FF2975C"
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.7.0:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "6581E1FA-8915-4BA6-AA15-56BFF377162B"
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.7.1:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "516C852C-1D84-406D-8C33-C097B70DD315"
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.7.2:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "9F5ECEE7-069F-4300-A478-9D30EC1FB8DF"
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.7.3:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "7B846820-5FB9-416A-8CC2-7CE8248080B2"
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.7.4:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "4C8832D6-1513-4EFC-A1DB-80AB6821AE2D"
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.8.0:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "A29D0C3D-F960-46B3-85AD-28D5A0BEB97E"
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.8.1:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "41FD1FB8-7875-414F-9E37-023C27964AC1"
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.9.0:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "B301BB9A-2AD9-4860-894E-B82EA35AF3AA"
}
],
"operator": "OR"
}
]
}
],
"sourceIdentifier": "secalert@redhat.com"
}