Skip to main content
Public proof of conceptFix available

CVE-2024-23638

A public proof of concept exists; no exploitation attested.

  • Published2024-01-24
  • Fixed in6.6
  • WeaknessCWE-672 · CWE-825

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

Squid is a caching proxy for the Web. Due to an expired pointer reference bug, Squid prior to version 6.6 is vulnerable to a Denial of Service attack against Cache Manager error responses. This problem allows a trusted client to perform Denial of Service when generating error pages for Client Manager reports. Squid older than 5.0.5 have not been tested and should be assumed to be vulnerable. All Squid-5.x up to and including 5.9 are vulnerable. All Squid-6.x up to and including 6.5 are vulnerable. This bug is fixed by Squid version 6.6. In addition, patches addressing this problem for the stable releases can be found in Squid's patch archives. As a workaround, prevent access to Cache Manager using Squid's main access control: `http_access deny manager`.

Timeline

dates in UTC
  1. 2024-01-2400:15CVE publishedNVD

Versions per branch

NVD
Squid-cache squid
BranchAffectedFixed in
6.x≥ 6.0, < 6.66.6
5.x≥ 5.0, ≤ 5.9no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • squid-cache squid
    Affected
    • = < 6.6no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2024-04-25

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • libecapRocky Linux:8all versions · fixed in 0:1.0.1-2.module+el8.9.0+1437+df5ea8f0
  • libecapRed Hat:enterprise_linux:8::appstreamall versions · fixed in 0:1.0.1-2.module+el8.9.0+19703+a1da7223and 3 other packages
  • libecapAlmaLinux:8all versions · fixed in 1.0.1-2.module_el8.6.0+2741+01592ae8and 1 other package
  • libecapAlmaLinux:8all versions · fixed in 1.0.1-2.module_el8.6.0+3048+383bc947and 1 other package
  • squidUbuntu:22.04:LTSall versions · fixed in 5.7-0ubuntu0.22.04.4
  • squidUbuntu:20.04:LTSall versions · fixed in 4.10-1ubuntu1.10
  • squidTuxCare:CentOS:8.5all versions · fixed in 7:4.15-1.module_el8.5.0+2238+84d1ef7b.tuxcare.els13
  • squidTuxCare:CentOS:8.4all versions · fixed in 7:4.11-4.module_el8.4.0+2237+77309fa2.2.tuxcare.els14

45 more package ranges on OSV.dev

Vendor advisories

  • CVE-2024-23638 Red Hat Product Security43 products fixed · 8 known affected

    squid: vulnerable to a Denial of Service attack against Cache Manager error responses

    squid as a component of Red Hat Enterprise Linux 6 · squid.src as a component of Red Hat Enterprise Linux 6 · squid34 as a component of Red Hat Enterprise Linux 6 · +5 more

  • RHSA-2024:9644 Red Hat Product Security30 products fixed

    Red Hat Security Advisory: squid:4 security update

  • RHSA-2024:4861 Red Hat Product Security13 products fixed

    Red Hat Security Advisory: squid security update

Full record on NVD

Fix

  1. Update Squid-cache squid to 6.6
  2. Vendor fix Red Hat Product Security RHSA-2024:9644 · 30 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
  3. Workaround from the vendor Red Hat Product Security RHSA-2024:9644 · 30 productsRestrict entry to Cache Manager through Squid's primary access control: http_access deny manager
  4. No fix planned, says the vendor Red Hat Product Security CVE-2024-23638 · 8 productsOut of support scope

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • CISA-ADPSSVC decisionpoc2024-01-24
  • CNACVSS 3.16.5known since 2026-10-23
  • NVDCVSS 3.16.5read 2026-10-23
  • CNAweakness (CWE)CWE-825known since 2026-10-23
  • NVDweakness (CWE)CWE-672read 2026-10-23
  • FIRST EPSSEPSS score60.1 %read 2026-12-04
  • OSVaffected packages—

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Published
2024-01-24
Last modified
2026-06-17
NVD status
Modified

Frequently asked questions

What is CVE-2024-23638?

Squid is a caching proxy for the Web. Due to an expired pointer reference bug, Squid prior to version 6.6 is vulnerable to a Denial of Service attack against Cache Manager error responses. This problem allows a trusted client to perform Denial of Service when generating error pages for Client Manager reports. Squid older than 5.0.5 have not been tested and should be assumed to be vulnerable. All Squid-5.x up to and including 5.9 are vulnerable. All Squid-6.x up to and including 6.5 are vulnerable. This bug is fixed by Squid version 6.6. In addition, patches addressing this problem for the stable releases can be found in Squid's patch archives. As a workaround, prevent access to Cache Manager using Squid's main access control: `http_access deny manager`.

Is CVE-2024-23638 actively exploited?

A proof-of-concept exploit exists for CVE-2024-23638, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2024-23638?

CVE-2024-23638 has a CVSS v3 base score of 6.5 (Medium severity), with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.

Running squid? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record