Integer Overflow or Wraparound Affecting squid package, versions [3.0,3.5.28][4.0,4.11)[5.0,5.0.2)


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
6.68% (94th 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 IDSNYK-UNMANAGED-SQUID-2370917
  • published26 Jan 2022
  • disclosed23 Apr 2020
  • creditUnknown

Introduced: 23 Apr 2020

CVE-2020-11945  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade squid to version 4.11, 5.0.2 or higher.

Overview

Affected versions of this package are vulnerable to Integer Overflow or Wraparound. An issue was discovered in Squid before 5.0.2. A remote attacker can replay a sniffed Digest Authentication nonce to gain access to resources that are otherwise forbidden. This occurs because the attacker can overflow the nonce reference counter (a short integer). Remote code execution may occur if the pooled token credentials are freed (instead of replayed as valid credentials).

CVSS Scores

version 3.1