Insecure Certificate Validation in Squid
Summary
CVE-2021-41611: An issue was discovered in Squid 5.0.6 through 5.1.x before 5.2. Affects squid across 2 version ranges.
< 5.0.6-r2
>= 1521895e24671463bf590cabcdbd2acf637ed2c1, < 74f073ecdc41e96dbf68e63550710fed7b8ad2d2
Fixed in 5.0.6-r2. How to fix ↓
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.
No signup required · Results in about 60 seconds
Background
Squid is a widely used caching proxy server that provides improved performance and security for web clients. It acts as an intermediary between clients and servers, caching frequently accessed content to reduce bandwidth usage and improve response times. Squid supports various protocols and is commonly used in enterprise environments to enhance network performance. However, a vulnerability has been discovered in Squid versions 5.0.6 through 5.1.x before 5.2, which affects the security trust validation of certificates.
Vulnerability Detail
The vulnerability, identified as CVE-2021-41611, arises from an incorrect classification of certain certificates as trusted during the validation process in Squid. This flaw allows a remote server to obtain security trust improperly. Consequently, this indication of trust may be passed along to clients, potentially granting access to unsafe or hijacked services. Exploiting this vulnerability could lead to unauthorized access, data breaches, or other security compromises.
How To Fix
Minimum fixed version
5.0.6-r2
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
There are no known workarounds for this vulnerability. It is essential to apply the recommended fix by upgrading to Squid 5.2 or later.
Conclusion
Insecure Certificate Validation in Squid (CVE-2021-41611) poses a significant security risk, potentially allowing unauthorized access to compromised or unsafe services. It is crucial to upgrade Squid to version 5.2 or later to mitigate this vulnerability. For further assistance or support in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for squid →
FAQ
Squid is a caching proxy server that improves performance and security for web clients by caching frequently accessed content.
Squid versions 5.0.6 through 5.1.x before 5.2 are affected by this vulnerability.
Exploiting this vulnerability could allow a remote server to obtain security trust improperly, potentially granting access to unsafe or hijacked services.
To fix this vulnerability, it is recommended to upgrade Squid to version 5.2 or later.
There are no known workarounds for this vulnerability. Upgrading to Squid 5.2 or later is the recommended solution.
Related vulnerabilities
Recent vulnerabilities recorded for squid.