4.5

CVE-2019-12522: squid-cache squid Improper Privilege Management

CVSS: 4.5v3.1MediumModified
AliasesUBUNTU-CVE-2019-12522DEBIAN-CVE-2019-12522
Published 15-04-2020Last modified 04-08-2024

Vulnerability summary

CVE-2019-12522 is a medium (CVSS 4.5) Improper Privilege Management vulnerability in squid-cache squid. EPSS estimates a 0.34% chance of exploitation in the next 30 days, higher than 26.4% of scored vulnerabilities.

Overall risk
18/100
0100
Low · default modelHow is this calculated?
CVSS score
4.5/10
010
Medium · v3.1 (NVD)
EPSS score
0.34%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 15-04-2020
    PublishedVulnerability first disclosed.
  2. 04-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

0.34%

Chance of exploitation in the next 30 days

Percentile

26%

Versus all other CVEs

30-day change

0.00 pp

From 0.34% on 20-09-2026

20-09-202620-10-2026
EPSS score
0.34%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Ubuntu2 products
  • squidAll versions (No fix recorded)
  • squid3All versions (No fix recorded)
Debian1 product
  • squidAll versions (No fix recorded)
Squid-cache1 product

3 vendors · 4 products

References

5 links