Incorrect Privilege Assignment Affecting squid-migration-script package, versions *


Severity

Recommended
low

Based on CentOS security rating.

Threat Intelligence

EPSS
0.04% (15th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Incorrect Privilege Assignment vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CENTOS7-SQUIDMIGRATIONSCRIPT-1995054
  • published26 Jul 2021
  • disclosed24 Apr 2020

Introduced: 24 Apr 2020

CVE-2019-12522  (opens in a new tab)
CWE-266  (opens in a new tab)

How to fix?

There is no fixed version for Centos:7 squid-migration-script.

NVD Description

Note: Versions mentioned in the description apply only to the upstream squid-migration-script package and not the squid-migration-script package as distributed by Centos. See How to fix? for Centos:7 relevant fixed versions and status.

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.

CVSS Scores

version 3.1