Out-of-Bounds Affecting squid-migration-script package, versions <7:3.5.20-15.el7_8.1


Severity

Recommended
high

Based on CentOS security rating.

Threat Intelligence

EPSS
3.66% (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-CENTOS7-SQUIDMIGRATIONSCRIPT-2165123
  • published26 Jul 2021
  • disclosed12 Jul 2019

Introduced: 12 Jul 2019

CVE-2019-12525  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade Centos:7 squid-migration-script to version 7:3.5.20-15.el7_8.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream squid-migration-script package and not the squid-migration-script package as distributed by Centos. See How to fix? for Centos:7 relevant fixed versions and status.

An issue was discovered in Squid 3.3.9 through 3.5.28 and 4.x through 4.7. When Squid is configured to use Digest authentication, it parses the header Proxy-Authorization. It searches for certain tokens such as domain, uri, and qop. Squid checks if this token's value starts with a quote and ends with one. If so, it performs a memcpy of its length minus 2. Squid never checks whether the value is just a single quote (which would satisfy its requirements), leading to a memcpy of its length minus 1.

CVSS Scores

version 3.1