CVE-2019-18932
log.c in Squid Analysis Report Generator (sarg) through 2.3.11 allows local privilege escalation....
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- High
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.0
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.
- Record
CVE-2019-18932- CVSS 3.1
- 7.0 High
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 4.4 Medium
AV:L/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-59, CWE-362
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2019-18932- Updated
- 2026-11-02
EUVDEUVD-2019-8605 No score
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.
- Record
EUVD-2019-8605- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-jcx8-j739-fp6q
7.0
log.c in Squid Analysis Report Generator (sarg) through 2.3.11 allows local privilege escalation....
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.
- Record
GHSA-jcx8-j739-fp6q- CVSS 3.1
- 7.0 High
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-269, CWE-362
- Updated
- 2026-11-02
OSV
7.0
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.
- Record
CVE-2019-18932- CVSS 3.1
- 7.0 High
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2019-18932
7.0
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.
- Record
DEBIAN-CVE-2019-18932- CVSS 3.1
- 7.0 High
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2019-18932
7.0
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.
- Record
UBUNTU-CVE-2019-18932- CVSS 3.1
- 7.0 High
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVopenSUSE-SU-2020:0117-1 No score
Security update for sarg
This update for sarg fixes the following issues:
- CVE-2019-18932: Fixed insecure usage of /tmp/sarg which potentially allowed privilege escalation or denial of service (boo#1156643).
- Record
openSUSE-SU-2020:0117-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2020:0140-1 No score
Security update for sarg
This update for sarg fixes the following issues:
- CVE-2019-18932: Fixed insecure usage of /tmp/sarg which potentially allowed privilege escalation or denial of service (boo#1156643).
This update was imported from the openSUSE:Leap:15.1:Update update project.
- Record
openSUSE-SU-2020:0140-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
sargDebian:12 |
before 2.4.0-1 | 2.4.0-1 |
sargDebian:13 |
before 2.4.0-1 | 2.4.0-1 |
sargDebian:14 |
before 2.4.0-1 | 2.4.0-1 |
sargUbuntu:16.04:LTS |
All versions, plus listed versions 2.3.10-1ubuntu12.3.10-2 |
None known |
sargUbuntu:18.04:LTS |
All versions, plus listed versions 2.3.10-22.3.11-1 |
None known |
sargUbuntu:20.04:LTS |
All versions, plus listed versions 2.3.11-1 |
None known |
sargopenSUSE:Leap 15.1 |
before 2.3.10-lp151.3.3.1 | 2.3.10-lp151.3.3.1 |
sargSUSE:Package Hub 15 SP1 |
before 2.3.10-bp151.4.3.1 | 2.3.10-bp151.4.3.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2019-18932 is a high vulnerability (CVSS 7.0) in Squid Analysis Report Generator Project Analysis Report Generator, published January 21, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.25%, the 16th percentile. Fixed in sarg 2.4.0-1.
References
bugzilla.suse.com/show_bug.cgi?id=1150554
sourceforge.net/projects/sarg
openwall.com/lists/oss-security/2020/01/20/6
seclists.org/oss-sec/2020/q1/23
openwall.com/lists/oss-security/2020/01/27/1
lists.opensuse.org/opensuse-security-announce/2020-01/msg00051.html
Show 11 moreShow less
lists.opensuse.org/opensuse-security-announce/2020-01/msg00063.html
security.gentoo.org/glsa/202007-32
nvd.nist.gov/vuln/detail/CVE-2019-18932
github.com/advisories/GHSA-jcx8-j739-fp6q
security-tracker.debian.org/tracker/CVE-2019-18932
ubuntu.com/security/CVE-2019-18932
cve.org/CVERecord?id=CVE-2019-18932
lists.opensuse.org/archives/list/[email protected]/thread/6FENLJBPGJYRWH4TRRWY3B45BZMEUJD2
bugzilla.suse.com/1156643
suse.com/security/cve/CVE-2019-18932
lists.opensuse.org/archives/list/[email protected]/thread/LH3KEKGAWAXLOMWQWUFGTQDXONO4SZRS