CVE-2019-12522Squid-cache Squid
Medium 4.5
Follow: this CVE · Squid-cache · Squid-cache Squid We alert you by email or Slack (account required).
- Priority
- 27
- CVSS 3.1
- 4.5
- EPSS
- 0.3% probability of exploitation in 30 days · percentile 30
- Auth required
- Yes
- Published
- Apr 15, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-269
- Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
What happens
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.
What to do
- Apply the vendor's security update for Squid.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| squid-cache | squid | ≤ 4.7 |
Official sources
References
Links published by the sources. Open them with care.
- gitlab.com Third Party Advisory
- security.netapp.com Third Party Advisory