CVE-2019-12522: Medium severity squid web proxy cache vulnerability

Published Apr 15, 2020
·
Updated

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 leavesuid call. leavesuid 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 Software

1 affected component
Squid-Cache Squid<=4.7

Event History

Apr 15, 2020
CVE Published
via MITRE·07:00 PM
Data Sourced
via MITRE·07:00 PM
Description

Frequently Asked Questions

1

What is the vulnerability ID for this issue in Squid?

The vulnerability ID for this issue in Squid is CVE-2019-12522.

2

What is the severity rating for CVE-2019-12522?

CVE-2019-12522 has a severity rating of medium (4.5).

3

How does the vulnerability in Squid (CVE-2019-12522) occur?

When Squid is run as root, it spawns its child processes as a lesser user, leaving the Saved UID as 0, which can be exploited by an attacker who has compromised the child process.

4

Which version of Squid is affected by CVE-2019-12522?

Squid versions up to and including 4.7 are affected by CVE-2019-12522.

5

Are there any references available for CVE-2019-12522?

Yes, you can find references for CVE-2019-12522 at the following links: - [https://gitlab.com/jeriko.one/security/-/blob/master/squid/CVEs/CVE-2019-12522.txt](https://gitlab.com/jeriko.one/security/-/blob/master/squid/CVEs/CVE-2019-12522.txt) - [https://security.netapp.com/advisory/ntap-20210205-0006/](https://security.netapp.com/advisory/ntap-20210205-0006/)

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203