{
    "CVE_data_meta": {
        "ASSIGNER": "cve@mitre.org",
        "ID": "CVE-2006-5397",
        "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 Xinput module (modules/im/ximcp/imLcIm.c) in X.Org libX11 1.0.2 and 1.0.3 opens a file for reading twice using the same file descriptor, which causes a file descriptor leak that allows local users to read files specified by the XCOMPOSEFILE environment variable via the duplicate file descriptor."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "n/a"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "22749",
                "refsource": "SECUNIA",
                "url": "http://secunia.com/advisories/22749"
            },
            {
                "name": "20845",
                "refsource": "BID",
                "url": "http://www.securityfocus.com/bid/20845"
            },
            {
                "name": "https://bugs.freedesktop.org/show_bug.cgi?id=8699",
                "refsource": "CONFIRM",
                "url": "https://bugs.freedesktop.org/show_bug.cgi?id=8699"
            },
            {
                "name": "ADV-2006-4289",
                "refsource": "VUPEN",
                "url": "http://www.vupen.com/english/advisories/2006/4289"
            },
            {
                "name": "22642",
                "refsource": "SECUNIA",
                "url": "http://secunia.com/advisories/22642"
            },
            {
                "name": "http://gitweb.freedesktop.org/?p=xorg/lib/libX11.git;a=commit;h=686bb8b35acf6cecae80fe89b2b5853f5816ce19",
                "refsource": "CONFIRM",
                "url": "http://gitweb.freedesktop.org/?p=xorg/lib/libX11.git;a=commit;h=686bb8b35acf6cecae80fe89b2b5853f5816ce19"
            },
            {
                "name": "MDKSA-2006:199",
                "refsource": "MANDRIVA",
                "url": "http://www.mandriva.com/security/advisories?name=MDKSA-2006:199"
            },
            {
                "name": "libx11-xinput-information-disclosure(29956)",
                "refsource": "XF",
                "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/29956"
            }
        ]
    }
}