VDB
CVE-2019-12522
CVE-2019-12522
PUBLISHED
CVSS 4.5 MEDIUM
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.
EPSS 0.34% · 27.3th percentile
Risk Scores
CVSS 3.1
4.5
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
EPSS Score
0.34%
27.3th percentile
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ubuntu:Pro:20.04:LTS | squid | 4.9-2ubuntu4, 4.10-1ubuntu1.12, 4.10-1ubuntu1.10 |
| Ubuntu:Pro:16.04:LTS | squid3 | 3.3.8-1ubuntu17, 3.5.12-1ubuntu6, 3.5.12-1ubuntu7 |
| Ubuntu:24.04:LTS | squid | 6.1-2ubuntu1, 0, 6.1-2ubuntu2 |
| Ubuntu:Pro:18.04:LTS | squid3 | 3.5.27-1ubuntu1.2, 3.5.27-1ubuntu1.13, * |
| Ubuntu:22.04:LTS | squid | 5.2-1ubuntu4.1, 5.7-0ubuntu0.22.04.1, 0 |
| Ubuntu:25.10 | squid | 0, 6.13-1ubuntu4.1, 6.13-1ubuntu4 |
Timeline
- Apr 15, 2020 CVE Published
- Apr 14, 2021 EPSS Score
- Jun 23, 2021 EPSS Score
- Aug 24, 2021 EPSS Score
- Oct 26, 2021 EPSS Score
- Jan 6, 2022 EPSS Score
- Feb 4, 2022 EPSS Score
- Mar 1, 2022 EPSS Score
- Apr 1, 2022 EPSS Score
- May 2, 2022 EPSS Score
- Jul 4, 2022 EPSS Score
- Sep 6, 2022 EPSS Score
References
- https://ubuntu.com/security/CVE-2019-12522 third-party-advisory
- https://gitlab.com/jeriko.one/security/-/blob/master/squid/CVEs/CVE-2019-12522.txt third-party-advisory
- https://www.cve.org/CVERecord?id=CVE-2019-12522 third-party-advisory