Skip to content
OpenAdvisories
Unscored CVE-2019-18932 EUVD-2019-8605GHSA-jcx8-j739-fp6q

log.c in Squid Analysis Report Generator (sarg) through 2.3.11 allows local privilege escalation. By default, it uses a fixed temporary dir…

Published Jan 21, 2020 · Updated Aug 5, 2024 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 sarg 2.4.0-1 —
Debian 13 sarg 2.4.0-1 —
Debian 12 sarg 2.4.0-1 —
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS sarg No fix yet —
Ubuntu 18.04 LTS sarg No fix yet —
Ubuntu 16.04 LTS sarg No fix yet —
ReleasePackageFixed inAdvisory
SUSE Package Hub 15 SP1 sarg 2.3.10-bp151.4.3.1 openSUSE-SU-2020:0140-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.1 sarg 2.3.10-lp151.3.3.1 openSUSE-SU-2020:0117-1

Advisories 2

References