CVE Vulnerabilities

CVE-2023-49288

Use After Free

Published: Dec 04, 2023 | Modified: Nov 21, 2024
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
7.5 MODERATE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. Affected versions of squid are subject to a a Use-After-Free bug which can lead to a Denial of Service attack via collapsed forwarding. All versions of Squid from 3.5 up to and including 5.9 configured with collapsed_forwarding on are vulnerable. Configurations with collapsed_forwarding off or without a collapsed_forwarding directive are not vulnerable. This bug is fixed by Squid version 6.0.1. Users are advised to upgrade. Users unable to upgrade should remove all collapsed_forwarding lines from their squid.conf.

Weakness

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory “belongs” to the code that operates on the new pointer.

Affected Software

NameVendorStart VersionEnd Version
SquidSquid-cache3.5 (including)5.9 (including)
Red Hat Enterprise Linux 8RedHatsquid:4-8090020231130092412.a75119d5*
Red Hat Enterprise Linux 9RedHatsquid-7:5.5-6.el9_3.2*
SquidUbuntubionic*
SquidUbuntuesm-infra/focal*
SquidUbuntufocal*
SquidUbuntujammy*
SquidUbuntulunar*
SquidUbuntutrusty*
SquidUbuntuupstream*
SquidUbuntuxenial*
Squid3Ubuntubionic*
Squid3Ubuntuesm-infra/bionic*
Squid3Ubuntuesm-infra/xenial*
Squid3Ubuntutrusty*
Squid3Ubuntuxenial*

Potential Mitigations

References