CVE-2019-18932
Fixed in a distro release EPSS <1%
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.
Products: squid_analysis_report_generator_project squid_analysis_report_generator, opensuse backports_sle, opensuse leap
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Debian 12 | sarg | 2.4.0-1 |
| Debian 13 | sarg | 2.4.0-1 |
| Debian 14 | sarg | 2.4.0-1 |
| SUSE Package Hub 15 SP1 | sarg | 2.3.10-bp151.4.3.1 |
| Ubuntu 16.04 LTS | sarg | no fix |
| Ubuntu 18.04 LTS | sarg | no fix |
| Ubuntu 20.04 LTS | sarg | no fix |
| openSUSE Leap 15.1 | sarg | 2.3.10-lp151.3.3.1 |