CVE-2019-12522
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
Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | squid | Fix pending | UBUNTU-CVE-2019-12522 | |
| Ubuntu 26.04 | squid | Under investigation | UBUNTU-CVE-2019-12522 | |
| Ubuntu 25.10 | squid | Will not fix as of 2025-10-03, there is no fix from upstream for this issue | UBUNTU-CVE-2019-12522 | |
| Ubuntu 24.04 | squid | Under investigation | UBUNTU-CVE-2019-12522 | |
| Ubuntu 22.04 | squid | Under investigation | UBUNTU-CVE-2019-12522 | |
| Ubuntu 20.04 | squid | Fix pending | UBUNTU-CVE-2019-12522 | |
| Ubuntu 18.04 | squid3 | Fix pending | UBUNTU-CVE-2019-12522 | |
| Ubuntu 16.04 | squid3 | Will not fix as of 2025-10-03, there is no fix from upstream for this issue | UBUNTU-CVE-2019-12522 | |
| Ubuntu 14.04 | squid3 | Will not fix as of 2025-10-03, there is no fix from upstream for this issue | ||
| Debian 14 | squid | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2019-12522 | |
| Debian 13 | squid | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2019-12522 | |
| Debian 12 | squid | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2019-12522 | |
| Red Hat Enterprise Linux 8 | libecap | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | libecap-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | squid | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | squid | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | squid-migration-script | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | squid-sysvinit | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | squid | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | squid34 | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 5 | squid | Will not fix Out of support scope |
References
- https://gitlab.com/jeriko.one/security/-/blob/master/squid/CVEs/CVE-2019-12522.txt
- https://security.netapp.com/advisory/ntap-20210205-0006/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.