{
    "CVE_data_meta": {
        "ASSIGNER": "secalert@redhat.com",
        "ID": "CVE-2012-0787",
        "STATE": "PUBLIC"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "n/a",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "n/a"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "n/a"
                }
            ]
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "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."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "n/a"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "55811",
                "refsource": "SECUNIA",
                "url": "http://secunia.com/advisories/55811"
            },
            {
                "name": "http://augeas.net/news.html",
                "refsource": "CONFIRM",
                "url": "http://augeas.net/news.html"
            },
            {
                "name": "https://bugzilla.redhat.com/show_bug.cgi?id=772261",
                "refsource": "CONFIRM",
                "url": "https://bugzilla.redhat.com/show_bug.cgi?id=772261"
            },
            {
                "name": "RHSA-2013:1537",
                "refsource": "REDHAT",
                "url": "http://rhn.redhat.com/errata/RHSA-2013-1537.html"
            },
            {
                "name": "https://github.com/hercules-team/augeas/commit/b8de6a8c",
                "refsource": "CONFIRM",
                "url": "https://github.com/hercules-team/augeas/commit/b8de6a8c"
            }
        ]
    }
}