CVEfocus › CVE database › CVE-2019-12522

CVE-2019-12522

CVSS 4.5 MediumEPSS 0.3% (higher than 20% of CVEs)Published 2020-04-15Updated 2024-08-04Assigner: mitre

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

9Fix pending
3Under investigation
9Will not fix

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10squidFix pendingUBUNTU-CVE-2019-12522
Ubuntu 26.04squidUnder investigationUBUNTU-CVE-2019-12522
Ubuntu 25.10squidWill not fix
as of 2025-10-03, there is no fix from upstream for this issue
UBUNTU-CVE-2019-12522
Ubuntu 24.04squidUnder investigationUBUNTU-CVE-2019-12522
Ubuntu 22.04squidUnder investigationUBUNTU-CVE-2019-12522
Ubuntu 20.04squidFix pendingUBUNTU-CVE-2019-12522
Ubuntu 18.04squid3Fix pendingUBUNTU-CVE-2019-12522
Ubuntu 16.04squid3Will not fix
as of 2025-10-03, there is no fix from upstream for this issue
UBUNTU-CVE-2019-12522
Ubuntu 14.04squid3Will not fix
as of 2025-10-03, there is no fix from upstream for this issue
Debian 14squidWill 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 13squidWill 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 12squidWill 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 8libecapFix pending
Fix deferred
Red Hat Enterprise Linux 8libecap-develFix pending
Fix deferred
Red Hat Enterprise Linux 8squidFix pending
Fix deferred
Red Hat Enterprise Linux 7squidFix pending
Fix deferred
Red Hat Enterprise Linux 7squid-migration-scriptFix pending
Fix deferred
Red Hat Enterprise Linux 7squid-sysvinitFix pending
Fix deferred
Red Hat Enterprise Linux 6squidWill not fix
Out of support scope
Red Hat Enterprise Linux 6squid34Will not fix
Out of support scope
Red Hat Enterprise Linux 5squidWill not fix
Out of support scope

References

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.