{"id":"UBUNTU-CVE-2019-18932","details":"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.","modified":"2025-10-24T04:47:58Z","published":"2020-01-21T18:15:00Z","upstream":["CVE-2019-18932"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-18932"},{"type":"REPORT","url":"https://www.openwall.com/lists/oss-security/2020/01/20/6"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2019-18932"}],"affected":[{"package":{"name":"sarg","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/sarg@2.3.10-2?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.3.10-1ubuntu1","2.3.10-2"],"ecosystem_specific":{"binaries":[{"binary_version":"2.3.10-2","binary_name":"sarg"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-18932.json"}},{"package":{"name":"sarg","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/sarg@2.3.11-1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.3.10-2","2.3.11-1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.3.11-1","binary_name":"sarg"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-18932.json"}},{"package":{"name":"sarg","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/sarg@2.3.11-1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.3.11-1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.3.11-1","binary_name":"sarg"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-18932.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}