{"dataType": "CVE_RECORD", "containers": {"adp": [{"metrics": [{"other": {"type": "Unknown", "content": {"data": "{\"description\":\"low\"}"}}}], "affected": [{"vendor": "debian", "product": "augeas-dbg", "versions": [{"status": "affected", "version": "0", "lessThan": "1.0.0-1", "versionType": "deb"}], "platforms": ["bookworm", "forky", "sid", "trixie"], "defaultStatus": "unaffected"}, {"vendor": "debian", "product": "augeas-doc", "versions": [{"status": "affected", "version": "0", "lessThan": "1.0.0-1", "versionType": "deb"}], "platforms": ["bookworm", "forky", "sid", "trixie"], "defaultStatus": "unaffected"}, {"vendor": "debian", "product": "augeas-lenses", "versions": [{"status": "affected", "version": "0", "lessThan": "1.0.0-1", "versionType": "deb"}], "platforms": ["bookworm", "forky", "sid", "trixie"], "defaultStatus": "unaffected"}, {"vendor": "debian", "product": "augeas-tools", "versions": [{"status": "affected", "version": "0", "lessThan": "1.0.0-1", "versionType": "deb"}], "platforms": ["bookworm", "forky", "sid", "trixie"], "defaultStatus": "unaffected"}, {"vendor": "debian", "product": "libaugeas-dev", "versions": [{"status": "affected", "version": "0", "lessThan": "1.0.0-1", "versionType": "deb"}], "platforms": ["bookworm", "forky", "sid", "trixie"], "defaultStatus": "unaffected"}, {"vendor": "debian", "product": "libaugeas0", "versions": [{"status": "affected", "version": "0", "lessThan": "1.0.0-1", "versionType": "deb"}], "platforms": ["bookworm", "forky", "sid", "trixie"], "defaultStatus": "unaffected"}], "references": [{"url": "https://security-tracker.debian.org/tracker/CVE-2012-0787"}], "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."}], "providerMetadata": {"orgId": "79363d38-fa19-49d1-9214-5f28da3f3ac5", "shortName": "debian", "dateUpdated": "2014-08-01T00:00:00.000Z", "x_subShortName": "debian"}}, {"metrics": [{"cvssV2_0": {"version": "2.0", "baseScore": 2.6, "accessVector": "LOCAL", "vectorString": "AV:L/AC:H/Au:N/C:P/I:P/A:N", "authentication": "NONE", "integrityImpact": "PARTIAL", "accessComplexity": "HIGH", "availabilityImpact": "NONE", "confidentialityImpact": "PARTIAL"}}, {"other": {"type": "Unknown", "content": {"data": "{\"description\":\"LOW\"}"}}}], "affected": [{"vendor": "oraclelinux", "product": "augeas", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.0.0-5.el6", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:6"], "defaultStatus": "unaffected"}, {"vendor": "oraclelinux", "product": "augeas-devel", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.0.0-5.el6", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:6"], "defaultStatus": "unaffected"}, {"vendor": "oraclelinux", "product": "augeas-libs", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.0.0-5.el6", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:6"], "defaultStatus": "unaffected"}], "references": [{"url": "https://linux.oracle.com/cve/CVE-2012-0787.html"}], "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."}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000006", "shortName": "oraclelinux", "dateUpdated": "2013-11-25T00:00:00Z", "x_subShortName": "oraclelinux"}}, {"metrics": [{"cvssV2_0": {"version": "2.0", "baseScore": 2.6, "accessVector": "LOCAL", "vectorString": "AV:L/AC:H/Au:N/C:P/I:P/A:N", "authentication": "NONE", "integrityImpact": "PARTIAL", "accessComplexity": "HIGH", "availabilityImpact": "NONE", "confidentialityImpact": "PARTIAL"}}, {"other": {"type": "Unknown", "content": {"data": "{\"description\":\"Low\"}"}}}], "affected": [{"vendor": "redhat", "product": "augeas", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.0.0-5.el6", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:6"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "augeas-devel", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.0.0-5.el6", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:6"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "augeas-libs", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.0.0-5.el6", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:6"], "defaultStatus": "unaffected"}], "references": [{"url": "https://access.redhat.com/errata/RHSA-2013:1537"}, {"url": "https://access.redhat.com/security/cve/CVE-2012-0787"}], "descriptions": [{"lang": "en", "value": "Augeas is a utility for editing configuration. Augeas parses configuration\nfiles in their native formats and transforms them into a tree.\nConfiguration changes are made by manipulating this tree and saving it back\ninto native configuration files. Augeas also uses \"lenses\" as basic\nbuilding blocks for establishing the mapping from files into the Augeas\ntree and back.\n\nMultiple flaws were found in the way Augeas handled configuration files\nwhen updating them. An application using Augeas to update configuration\nfiles in a directory that is writable to by a different user (for example,\nan application running as root that is updating files in a directory owned\nby a non-root service user) could have been tricked into overwriting\narbitrary files or leaking information via a symbolic link or mount point\nattack. (CVE-2012-0786, CVE-2012-0787)\n\nThe augeas package has been upgraded to upstream version 1.0.0, which\nprovides a number of bug fixes and enhancements over the previous version.\n(BZ#817753)\n\nThis update also fixes the following bugs:\n\n* Previously, when single quotes were used in an XML attribute, Augeas was\nunable to parse the file with the XML lens. An upstream patch has been\nprovided ensuring that single quotes are handled as valid characters and\nparsing no longer fails. (BZ#799885)\n\n* Prior to this update, Augeas was unable to set up the \"require_ssl_reuse\"\noption in the vsftpd.conf file. The updated patch fixes the vsftpd lens to\nproperly recognize this option, thus fixing this bug. (BZ#855022)\n\n* Previously, the XML lens did not support non-Unix line endings.\nConsequently, Augeas was unable to load any files containing such line\nendings. The XML lens has been fixed to handle files with CRLF line\nendings, thus fixing this bug. (BZ#799879)\n\n* Previously, Augeas was unable to parse modprobe.conf files with spaces\naround \"=\" characters in option directives. The modprobe lens has been\nupdated and parsing no longer fails. (BZ#826752)\n\nAll Augeas users are advised to upgrade to these updated packages, which\ncontain backported patches to correct these issues and add these\nenhancements."}], "providerMetadata": {"orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749", "shortName": "redhat", "dateUpdated": "2012-07-19T00:00:00Z", "x_subShortName": "redhat_6"}}, {"metrics": [{"cvssV2_0": {"version": "2.0", "baseScore": 2.6, "accessVector": "LOCAL", "vectorString": "AV:L/AC:H/Au:N/C:P/I:P/A:N", "authentication": "NONE", "integrityImpact": "PARTIAL", "accessComplexity": "HIGH", "availabilityImpact": "NONE", "confidentialityImpact": "PARTIAL"}}], "affected": [{"vendor": "amazon", "product": "augeas", "versions": [{"status": "affected", "version": "0", "lessThan": "1.0.0-5.5.amzn1", "versionType": "rpm"}], "defaultStatus": "unaffected"}, {"vendor": "amazon", "product": "augeas-debuginfo", "versions": [{"status": "affected", "version": "0", "lessThan": "1.0.0-5.5.amzn1", "versionType": "rpm"}], "defaultStatus": "unaffected"}, {"vendor": "amazon", "product": "augeas-devel", "versions": [{"status": "affected", "version": "0", "lessThan": "1.0.0-5.5.amzn1", "versionType": "rpm"}], "defaultStatus": "unaffected"}, {"vendor": "amazon", "product": "augeas-libs", "versions": [{"status": "affected", "version": "0", "lessThan": "1.0.0-5.5.amzn1", "versionType": "rpm"}], "defaultStatus": "unaffected"}], "references": [{"url": "http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-0787"}], "descriptions": [{"lang": "en", "value": "Multiple flaws were found in the way Augeas handled configuration files when updating them. An application using Augeas to update configuration files in a directory that is writable to by a different user (for example, an application running as root that is updating files in a directory owned by a non-root service user) could have been tricked into overwriting arbitrary files or leaking information via a symbolic link or mount point attack."}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000000", "shortName": "alas", "dateUpdated": "2013-12-02T20:28:00Z", "x_subShortName": "alas_1"}}, {"affected": [{"vendor": "unknown", "product": "unknown", "defaultStatus": "unknown"}], "references": [{"url": "https://www.cve.org/CVERecord?id=CVE-2012-0787"}], "descriptions": [{"lang": "en", "value": "not defined"}], "providerMetadata": {"orgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc", "shortName": "canonical", "dateUpdated": "2000-01-01T00:00:00Z", "x_subShortName": "canonical"}}], "cna": {"metrics": [{"format": "CVSS", "cvssV2_0": {"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"}}], "affected": [{"cpes": ["cpe:2.3:a:augeas:augeas:*:*:*:*:*:*:*:*", "cpe:2.3:a:augeas:augeas:0.0.1:*:*:*:*:*:*:*", "cpe:2.3:a:augeas:augeas:0.0.2:*:*:*:*:*:*:*", "cpe:2.3:a:augeas:augeas:0.0.3:*:*:*:*:*:*:*", "cpe:2.3:a:augeas:augeas:0.0.4:*:*:*:*:*:*:*", "cpe:2.3:a:augeas:augeas:0.0.5:*:*:*:*:*:*:*", "cpe:2.3:a:augeas:augeas:0.0.6:*:*:*:*:*:*:*", "cpe:2.3:a:augeas:augeas:0.0.7:*:*:*:*:*:*:*", "cpe:2.3:a:augeas:augeas:0.0.8:*:*:*:*:*:*:*", "cpe:2.3:a:augeas:augeas:0.1.0:*:*:*:*:*:*:*", "cpe:2.3:a:augeas:augeas:0.1.1:*:*:*:*:*:*:*", "cpe:2.3:a:augeas:augeas:0.2.0:*:*:*:*:*:*:*", "cpe:2.3:a:augeas:augeas:0.2.1:*:*:*:*:*:*:*", "cpe:2.3:a:augeas:augeas:0.2.2:*:*:*:*:*:*:*", "cpe:2.3:a:augeas:augeas:0.3.0:*:*:*:*:*:*:*", "cpe:2.3:a:augeas:augeas:0.3.1:*:*:*:*:*:*:*", "cpe:2.3:a:augeas:augeas:0.3.2:*:*:*:*:*:*:*", "cpe:2.3:a:augeas:augeas:0.3.3:*:*:*:*:*:*:*", "cpe:2.3:a:augeas:augeas:0.3.4:*:*:*:*:*:*:*", "cpe:2.3:a:augeas:augeas:0.3.5:*:*:*:*:*:*:*", "cpe:2.3:a:augeas:augeas:0.3.6:*:*:*:*:*:*:*", "cpe:2.3:a:augeas:augeas:0.4.0:*:*:*:*:*:*:*", "cpe:2.3:a:augeas:augeas:0.4.1:*:*:*:*:*:*:*", "cpe:2.3:a:augeas:augeas:0.4.2:*:*:*:*:*:*:*", "cpe:2.3:a:augeas:augeas:0.5.0:*:*:*:*:*:*:*", "cpe:2.3:a:augeas:augeas:0.5.1:*:*:*:*:*:*:*", "cpe:2.3:a:augeas:augeas:0.5.2:*:*:*:*:*:*:*", "cpe:2.3:a:augeas:augeas:0.5.3:*:*:*:*:*:*:*", "cpe:2.3:a:augeas:augeas:0.6.0:*:*:*:*:*:*:*", "cpe:2.3:a:augeas:augeas:0.7.0:*:*:*:*:*:*:*", "cpe:2.3:a:augeas:augeas:0.7.1:*:*:*:*:*:*:*", "cpe:2.3:a:augeas:augeas:0.7.2:*:*:*:*:*:*:*", "cpe:2.3:a:augeas:augeas:0.7.3:*:*:*:*:*:*:*", "cpe:2.3:a:augeas:augeas:0.7.4:*:*:*:*:*:*:*", "cpe:2.3:a:augeas:augeas:0.8.0:*:*:*:*:*:*:*", "cpe:2.3:a:augeas:augeas:0.8.1:*:*:*:*:*:*:*", "cpe:2.3:a:augeas:augeas:0.9.0:*:*:*:*:*:*:*"], "vendor": "augeas", "product": "augeas", "versions": [{"status": "affected", "version": "0", "versionType": "custom", "lessThanOrEqual": "0.10.0"}, {"status": "affected", "version": "0.0.1"}, {"status": "affected", "version": "0.0.2"}, {"status": "affected", "version": "0.0.3"}, {"status": "affected", "version": "0.0.4"}, {"status": "affected", "version": "0.0.5"}, {"status": "affected", "version": "0.0.6"}, {"status": "affected", "version": "0.0.7"}, {"status": "affected", "version": "0.0.8"}, {"status": "affected", "version": "0.1.0"}, {"status": "affected", "version": "0.1.1"}, {"status": "affected", "version": "0.2.0"}, {"status": "affected", "version": "0.2.1"}, {"status": "affected", "version": "0.2.2"}, {"status": "affected", "version": "0.3.0"}, {"status": "affected", "version": "0.3.1"}, {"status": "affected", "version": "0.3.2"}, {"status": "affected", "version": "0.3.3"}, {"status": "affected", "version": "0.3.4"}, {"status": "affected", "version": "0.3.5"}, {"status": "affected", "version": "0.3.6"}, {"status": "affected", "version": "0.4.0"}, {"status": "affected", "version": "0.4.1"}, {"status": "affected", "version": "0.4.2"}, {"status": "affected", "version": "0.5.0"}, {"status": "affected", "version": "0.5.1"}, {"status": "affected", "version": "0.5.2"}, {"status": "affected", "version": "0.5.3"}, {"status": "affected", "version": "0.6.0"}, {"status": "affected", "version": "0.7.0"}, {"status": "affected", "version": "0.7.1"}, {"status": "affected", "version": "0.7.2"}, {"status": "affected", "version": "0.7.3"}, {"status": "affected", "version": "0.7.4"}, {"status": "affected", "version": "0.8.0"}, {"status": "affected", "version": "0.8.1"}, {"status": "affected", "version": "0.9.0"}], "defaultStatus": "unaffected"}, {"cpes": ["cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*"], "vendor": "redhat", "product": "enterprise_linux", "versions": [{"status": "affected", "version": "6.0"}], "defaultStatus": "unaffected"}], "references": [{"url": "https://bugzilla.redhat.com/show_bug.cgi?id=772261", "tags": ["exploit"]}, {"url": "https://github.com/hercules-team/augeas/commit/b8de6a8c", "tags": ["exploit", "patch"]}, {"url": "http://rhn.redhat.com/errata/RHSA-2013-1537.html", "tags": ["vendor-advisory"]}, {"url": "http://secunia.com/advisories/55811", "tags": ["vendor-advisory"]}, {"url": "http://augeas.net/news.html"}], "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."}], "problemTypes": [{"descriptions": [{"lang": "en", "description": "NVD-CWE-noinfo"}]}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000003", "shortName": "nvd", "dateUpdated": "2013-11-23T18:55:04Z", "x_subShortName": "nvd"}}}, "cveMetadata": {"cveId": "CVE-2012-0787", "state": "PUBLISHED", "dateUpdated": "2025-04-11T00:51:21Z", "assignerOrgId": "53f830b8-0a3f-465b-8143-3b8a9948e749", "datePublished": "2013-11-23T18:55:04Z", "assignerShortName": "redhat"}, "dataVersion": "5.0"}