Privilege Escalation Affecting sarg package, versions [0,]


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Privilege Escalation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-SARG-2380718
  • published26 Jan 2022
  • disclosed21 Jan 2020
  • creditUnknown

Introduced: 21 Jan 2020

CVE-2019-18932  (opens in a new tab)
CWE-269  (opens in a new tab)

How to fix?

There is no fixed version for sarg.

Overview

Affected versions of this package are vulnerable to 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.

CVSS Scores

version 3.1