CVE-2019-12522 json
An issue was discovered in Squid through 4.7.
published 6y ago modified 4mo ago also EUVD-2019-4117
- cvss
- 4.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 28%
- public exploits
- 0
- none known
Summary
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.
Is CVE-2019-12522 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2019-12522 updated cvss 4.5
squid: lack of UID assignment in child process spawning could lead to privileges escalation
-
Red Hat Enterprise Linux 5 squid Red Hat Enterprise Linux 6 squid, squid34affected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 7 squid, squid-sysvinit, squid-migration-script Red Hat Enterprise Linux 8 squid, libecapaffected: no fix available “Fix deferred”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.34% chance of exploitation in the next 30 days, higher than 28% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 4.5 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L |
| NVD | 2.0 | 4.4 | AV:L/AC:M/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-269 Improper Privilege Management
References
-
gitlab.com
/jeriko.one/security/-/blob/master/squid/CVEs/CVE-2019-12522.txt
third-party-advisory
-
security.netapp.com
/advisory/ntap-20210205-0006/
third-party-advisory
Sources
- CVE List CVE-2019-12522
- NVD CVE-2019-12522
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.