Improper Privilege Management Affecting sarg package, versions *


Severity

Recommended
low

Based on Debian security rating.

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 Improper Privilege Management vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIAN9-SARG-542810
  • published21 Jan 2020
  • disclosed21 Jan 2020

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 Debian:9 sarg.

NVD Description

Note: Versions mentioned in the description apply only to the upstream sarg package and not the sarg package as distributed by Debian. See How to fix? for Debian:9 relevant fixed versions and status.

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