CVE-2019-12522: squid-cache squid Improper Privilege Management
Vulnerability summary
CVE-2019-12522 is a medium (CVSS 4.5) Improper Privilege Management vulnerability in squid-cache squid. EPSS estimates a 0.34% chance of exploitation in the next 30 days, higher than 26.4% of scored vulnerabilities.
Timeline
- 15-04-2020PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated4.5MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
- OSV · DebianEcosystem advisory · calculated4.5MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
EPSS trend
Probability
0.34%
Chance of exploitation in the next 30 days
Percentile
26%
Versus all other CVEs
30-day change
0.00 pp
From 0.34% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Ubuntu2 products
- squidAll versions (No fix recorded)
- squid3All versions (No fix recorded)
Debian1 product
- squidAll versions (No fix recorded)
Squid-cache1 product
- squid≤ 4.7
3 vendors · 4 products
References
5 links- gitlab.com/jeriko.one/security/-/blob/master/squid/CVEs/CVE-2019-12522.txtX Refsource MISCThird Party AdvisoryREPORT