Information Disclosure Vulnerability in Squid Package: CVE-2019-18679

squid Updated 02 Oct 2025

Summary

26/11/2019
N/A
Yes i
High
7.5

ALPINE-CVE-2019-18679: An issue was discovered in Squid 2.x, 3.x, and 4.x through 4.8. Affects squid versions < 4.8-r1. Fixed in 4.8-r1. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Squid is a widely used caching and forwarding HTTP web proxy that supports various protocols, including HTTP, HTTPS, and FTP. It is designed to improve web performance by caching frequently requested resources, thus reducing bandwidth and improving response times. However, Squid versions 2.x, 3.x, and 4.x through 4.8 are vulnerable to an information disclosure issue due to improper data management when processing HTTP Digest Authentication.

Vulnerability Detail

The vulnerability arises from the way Squid handles nonce tokens during HTTP Digest Authentication. These tokens inadvertently expose raw byte values of pointers from heap memory allocations. This exposure can undermine Address Space Layout Randomization (ASLR) protections, potentially allowing attackers to isolate memory areas for remote code execution attacks. The severity of this vulnerability is rated at a CVSS score of 7.5, indicating a high risk of exploitation.

How To Fix

Minimum fixed version

4.8-r1

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

As a temporary workaround, consider disabling HTTP Digest Authentication until the package can be updated. This can be done by modifying the Squid configuration file (usually located at /etc/squid/squid.conf) to use a different authentication method.

Conclusion

The CVE-2019-18679 vulnerability in the Squid package poses a significant risk due to improper handling of nonce tokens, which can lead to information disclosure and potential remote code execution. It is crucial to update to the patched versions of Squid to mitigate this risk.

See every vulnerability recorded for squid →

Share this vulnerability

FAQ

CVE-2019-18679 is a vulnerability in the Squid package that allows for information disclosure through improper handling of nonce tokens in HTTP Digest Authentication.

Squid versions 2.x, 3.x, and 4.x up to 4.8 are affected by this vulnerability.

The vulnerability can lead to information disclosure that may assist attackers in executing remote code execution attacks by isolating memory areas.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

The CVSS score of CVE-2019-18679 is 7.5, indicating a high severity level.

Related vulnerabilities

Recent vulnerabilities recorded for squid.

How To Fix

Minimum fixed version

4.8-r1

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