CVE-2019-12522
MEDIUMSquid < 4.7 - Privilege Escalation via leave_suid Saved UID Mismanagement
Title source: llmDescription
An issue was discovered in Squid through 4.7. When Squid is run as root, it spawns its child processes as a lesser user, by default the user nobody. This is done via the leave_suid call. leave_suid leaves the Saved UID as 0. This makes it trivial for an attacker who has compromised the child process to escalate their privileges back to root.
References (2)
Core 2
Core References
Third Party Advisory x_refsource_misc
https://gitlab.com/jeriko.one/security/-/blob/master/squid/CVEs/CVE-2019-12522.txt
Third Party Advisory x_refsource_confirm
https://security.netapp.com/advisory/ntap-20210205-0006/
Scores
CVSS v3
4.5
EPSS
0.0034
EPSS Percentile
26.3%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
Details
CWE
CWE-269
Status
published
Products (1)
squid-cache/squid
< 4.7
Published
Apr 15, 2020
Tracked Since
Feb 18, 2026