CVEvulnerability
CVE-2019-12522
4.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2020-04-15
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 4.5 MEDIUM — CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
- CVSS 2.0 ([email protected])
- 4.4 MEDIUM — AV:L/AC:M/Au:N/C:P/I:P/A:P
- Weaknesses
- CWE-269
Description
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.
Affected configurations
• squid-cache squid (<= 4.7)
Related
Weakness · CWE (1)
- CWE-269 Improper Privilege Management weakness
References
- https://gitlab.com/jeriko.one/security/-/blob/master/squid/CVEs/CVE-2019-12522.txt Third Party Advisory
- https://security.netapp.com/advisory/ntap-20210205-0006/ Third Party Advisory
- https://gitlab.com/jeriko.one/security/-/blob/master/squid/CVEs/CVE-2019-12522.txt Third Party Advisory
- https://security.netapp.com/advisory/ntap-20210205-0006/ Third Party Advisory