Vulnerability in Squid Package: CVE-2019-12525

squid Updated 02 Oct 2025

Summary

11/07/2019
N/A
Yes i
Critical
9.8

CVE-2019-12525: An issue was discovered in Squid 3.3.9 through 3.5.28 and 4.x through 4.7. Affects squid across 3 version ranges.

< 2e17b02616d37206ba9cccc53c20667624fbef9f < 4.8-r0 >= 83f1f03412750fdd98b5219ff5829cd4e319a1b3, <= 6cfeb300caf423ff49a0511d8bd43a56f3418273

Fixed in 4.8-r0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Squid is a popular caching proxy server that provides improved performance and security for web clients. It is widely used to enhance the speed and reliability of web applications. However, a vulnerability has been discovered in Squid versions 3.3.9 through 3.5.28 and 4.x through 4.7. This vulnerability affects Squid when configured to use Digest authentication. It involves a parsing issue in the Proxy-Authorization header, which can lead to a memory corruption vulnerability.

Vulnerability Detail

The vulnerability (CVE-2019-12525) in Squid arises from a flaw in the parsing of the Proxy-Authorization header. When Squid is configured to use Digest authentication, it searches for specific tokens such as domain, uri, and qop. However, it fails to properly validate the value of these tokens, leading to a memory corruption vulnerability. An attacker can exploit this vulnerability by crafting a malicious request that triggers the flawed parsing logic, potentially resulting in remote code execution or denial of service.

How To Fix

Minimum fixed version

4.8-r0

This is the first release that contains the fix.

sudo apk add --upgrade squid

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If updating Squid immediately is not feasible, a temporary workaround can be implemented by disabling Digest authentication or using an alternative authentication method. However, it is important to note that these workarounds may impact the functionality and security of the Squid server. It is strongly advised to update to the latest version as soon as possible.

Conclusion

The vulnerability in Squid (CVE-2019-12525) poses a significant risk to the security and stability of Squid servers. It is crucial to update to the latest version of Squid (4.8-r0 or later) to mitigate this vulnerability. If you require further assistance or support in addressing this vulnerability, please contact DevNack.com.

See every vulnerability recorded for squid →

Share this vulnerability

FAQ

Squid is a caching proxy server that improves the performance and security of web applications by caching frequently accessed content.

Squid versions 3.3.9 through 3.5.28 and 4.x through 4.7 are affected by this vulnerability.

This vulnerability can potentially allow an attacker to execute arbitrary code or cause a denial of service on a vulnerable Squid server.

To fix this vulnerability, update Squid to version 4.8-r0 or later.

A temporary workaround is to disable Digest authentication or use an alternative authentication method, but it is recommended to update to the latest version.

Related vulnerabilities

Recent vulnerabilities recorded for squid.

How To Fix

Minimum fixed version

4.8-r0

This is the first release that contains the fix.

sudo apk add --upgrade squid

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback