Every CVE Search/ Get API key

CVE-2019-18932

log.c in Squid Analysis Report Generator (sarg) through 2.3.11 allows local privilege escalation....

7.0 HighFix available

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

0.25%Down 0.9 points since Apr 14, 2021
90%50%10%1%

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 HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
4.4 MediumAV: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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

Affected packages
PackageAffectedFixed
sarg
Debian:12
before 2.4.0-1
2.4.0-1
sarg
Debian:13
before 2.4.0-1
2.4.0-1
sarg
Debian:14
before 2.4.0-1
2.4.0-1
sarg
Ubuntu:16.04:LTS
All versions, plus listed versions
2.3.10-1ubuntu12.3.10-2
None known
sarg
Ubuntu:18.04:LTS
All versions, plus listed versions
2.3.10-22.3.11-1
None known
sarg
Ubuntu:20.04:LTS
All versions, plus listed versions
2.3.11-1
None known
sarg
openSUSE:Leap 15.1
before 2.3.10-lp151.3.3.1
2.3.10-lp151.3.3.1
sarg
SUSE:Package Hub 15 SP1
before 2.3.10-bp151.4.3.1
2.3.10-bp151.4.3.1

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE 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

Show 11 moreShow less
MoveEnter Open