CVE-2019-12522

squid: lack of UID assignment in child process spawning could lead to privileges escalation

Published Apr 15, 2020 CVSS 3.1 · 4.5 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2019-4117 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.
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00666}

epss

{'score': 0.00483}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 4, 2024, 11:24 PM
Reserved
Jun 2, 2019, 12:00 AM
Status
Modified
Published
Apr 15, 2020, 7:15 PM
Modified
Jun 17, 2026, 2:14 AM
Severity
Low
Public date
Apr 24, 2020, 12:00 AM