Out-of-bounds Write Affecting squid package, versions [4.0.23,4.8)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
3.84% (92nd 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-2370909
  • published26 Jan 2022
  • disclosed11 Jul 2019
  • creditUnknown

Introduced: 11 Jul 2019

CVE-2019-12527  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade squid to version 4.8 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write. An issue was discovered in Squid 4.0.23 through 4.7. When checking Basic Authentication with HttpHeader::getAuth, Squid uses a global buffer to store the decoded data. Squid does not check that the decoded length isn't greater than the buffer, leading to a heap-based buffer overflow with user controlled data.

CVSS Scores

version 3.1