{
    "CVE_data_meta": {
        "ASSIGNER": "cve@mitre.org",
        "ID": "CVE-2019-18932",
        "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": "log.c in Squid Analysis Report Generator (sarg) through 2.3.11 allows local privilege escalation. By default, it uses a fixed temporary directory /tmp/sarg. As the root user, sarg creates this directory or reuses an existing one in an insecure manner. An attacker can pre-create the directory, and place symlinks in it (after winning a /tmp/sarg/denied.int_unsort race condition). The outcome will be corrupted or newly created files in privileged file system locations."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "n/a"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "url": "https://bugzilla.suse.com/show_bug.cgi?id=1150554",
                "refsource": "MISC",
                "name": "https://bugzilla.suse.com/show_bug.cgi?id=1150554"
            },
            {
                "url": "https://sourceforge.net/projects/sarg/",
                "refsource": "MISC",
                "name": "https://sourceforge.net/projects/sarg/"
            },
            {
                "refsource": "MLIST",
                "name": "[oss-security] 20200120 CVE-2019-18932: sarg: insecure usage of /tmp/sarg allows privilege escalation / DoS attack vector",
                "url": "http://www.openwall.com/lists/oss-security/2020/01/20/6"
            },
            {
                "refsource": "MISC",
                "name": "http://www.openwall.com/lists/oss-security/2020/01/20/6",
                "url": "http://www.openwall.com/lists/oss-security/2020/01/20/6"
            },
            {
                "refsource": "MLIST",
                "name": "[oss-security] CVE-2019-18932: sarg: insecure usage of /tmp/sarg allows privilege escalation / DoS attack vector",
                "url": "https://seclists.org/oss-sec/2020/q1/23"
            },
            {
                "refsource": "MLIST",
                "name": "[oss-security] 20200127 Re: CVE-2019-18932: sarg: insecure usage of /tmp/sarg allows privilege escalation / DoS attack vector",
                "url": "http://www.openwall.com/lists/oss-security/2020/01/27/1"
            },
            {
                "refsource": "SUSE",
                "name": "openSUSE-SU-2020:0117",
                "url": "http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00051.html"
            },
            {
                "refsource": "SUSE",
                "name": "openSUSE-SU-2020:0140",
                "url": "http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00063.html"
            },
            {
                "refsource": "GENTOO",
                "name": "GLSA-202007-32",
                "url": "https://security.gentoo.org/glsa/202007-32"
            }
        ]
    }
}