Out-of-bounds read in Squid - CVE-2019-12528

 

Out-of-bounds read in Squid - CVE-2019-12528

Published: February 7, 2020


Vulnerability identifier: #VU25019
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2019-12528
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to gain access to potentially sensitive information.

The vulnerability exists due to a boundary condition when translating FTP server listing into HTTP responses. A remote attacker can trick the victim into vising a specially crafted FTP server, trigger out-of-bounds read and gain access to memory contents of the heap.


Affected software

Squid
Amazon Linux AMI
Gentoo Linux
Anolis OS
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for ARM 64
Opensuse
openEuler
Fedora
squid (Debian package)
squid (Alpine package)
squid3 (Ubuntu package)
squid (Ubuntu package)
libecap
libecap-devel
squid-sysvinit
squid-migration-script
squid
squid (Red Hat package)
squid-debugsource
squid-debuginfo

How to mitigate CVE-2019-12528

Install updates from vendor's website.

Squid - update to 4.10
squid (Debian package) - update to 4.6-1+deb10u2
squid (Alpine package) - update to 3.5.27-r4
squid3 (Ubuntu package) - addressed in versions 3.5.12-1ubuntu7.10, 3.5.27-1ubuntu1.5
squid (Ubuntu package) - update to 4.8-1ubuntu2.2
libecap - update to 1.0.1-2
libecap-devel - update to 1.0.1-2
squid-sysvinit - update to 3.5.20-17
squid-migration-script - update to 3.5.20-17
squid - addressed in versions 3.5.20-17, 4.11-4
squid (Red Hat package) - update to 3.5.20-17.el7_9.4
squid-debugsource - update to 4.9-2
squid-debuginfo - update to 4.9-2
squid - update to 4.9-2
squid - addressed in versions 4.10-3.fc30, 4.10-3.fc31

External References

Related Security Bulletins