{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2012-0871",
        "ASSIGNER": "secalert@redhat.com",
        "STATE": "PUBLIC"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "The session_link_x11_socket function in login/logind-session.c in systemd-logind in systemd, possibly 37 and earlier, allows local users to create or overwrite arbitrary files via a symlink attack on the X11 user directory in /run/user/."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "n/a"
                    }
                ]
            }
        ]
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "n/a",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "n/a",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "=",
                                            "version_value": "n/a"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "http://cgit.freedesktop.org/systemd/systemd/commit/?id=fc3c1c6e091ea16ad5600b145201ec535bbb5d7c",
                "refsource": "MISC",
                "name": "http://cgit.freedesktop.org/systemd/systemd/commit/?id=fc3c1c6e091ea16ad5600b145201ec535bbb5d7c"
            },
            {
                "url": "http://lists.opensuse.org/opensuse-security-announce/2012-02/msg00030.html",
                "refsource": "MISC",
                "name": "http://lists.opensuse.org/opensuse-security-announce/2012-02/msg00030.html"
            },
            {
                "url": "http://www.osvdb.org/79768",
                "refsource": "MISC",
                "name": "http://www.osvdb.org/79768"
            },
            {
                "url": "https://bugzilla.novell.com/show_bug.cgi?id=747154",
                "refsource": "MISC",
                "name": "https://bugzilla.novell.com/show_bug.cgi?id=747154"
            },
            {
                "url": "https://bugzilla.redhat.com/show_bug.cgi?id=795853",
                "refsource": "MISC",
                "name": "https://bugzilla.redhat.com/show_bug.cgi?id=795853"
            }
        ]
    }
}