{
    "CVE_data_meta": {
        "ASSIGNER": "security@debian.org",
        "ID": "CVE-2017-16997",
        "STATE": "PUBLIC"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "glibc 2.19 through 2.26",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "glibc 2.19 through 2.26"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "n/a"
                }
            ]
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "elf/dl-load.c in the GNU C Library (aka glibc or libc6) 2.19 through 2.26 mishandles RPATH and RUNPATH containing $ORIGIN for a privileged (setuid or AT_SECURE) program, which allows local users to gain privileges via a Trojan horse library in the current working directory, related to the fillin_rpath and decompose_rpath functions. This is associated with misinterpretion of an empty RPATH/RUNPATH token as the \"./\" directory. NOTE: this configuration of RPATH/RUNPATH for a privileged program is apparently very uncommon; most likely, no such program is shipped with any common Linux distribution."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "improper RPATH/RUNPATH validation"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "https://sourceware.org/bugzilla/show_bug.cgi?id=22625",
                "refsource": "CONFIRM",
                "url": "https://sourceware.org/bugzilla/show_bug.cgi?id=22625"
            },
            {
                "name": "102228",
                "refsource": "BID",
                "url": "http://www.securityfocus.com/bid/102228"
            },
            {
                "name": "https://sourceware.org/ml/libc-alpha/2017-12/msg00528.html",
                "refsource": "CONFIRM",
                "url": "https://sourceware.org/ml/libc-alpha/2017-12/msg00528.html"
            },
            {
                "name": "https://bugs.debian.org/884615",
                "refsource": "CONFIRM",
                "url": "https://bugs.debian.org/884615"
            },
            {
                "name": "RHSA-2018:3092",
                "refsource": "REDHAT",
                "url": "https://access.redhat.com/errata/RHSA-2018:3092"
            },
            {
                "refsource": "REDHAT",
                "name": "RHBA-2019:0327",
                "url": "https://access.redhat.com/errata/RHBA-2019:0327"
            }
        ]
    }
}