Bug 1962243 (CVE-2021-28651) - CVE-2021-28651 squid: denial of service in URN processing
Summary: CVE-2021-28651 squid: denial of service in URN processing
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2021-28651
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1963391 1963392 1963393
Blocks: 1959539
TreeView+ depends on / blocked
 
Reported: 2021-05-19 15:03 UTC by Mauro Matteo Cascella
Modified: 2022-04-17 21:23 UTC (History)
7 users (show)

Fixed In Version: squid 4.15, squid 5.0.6
Doc Type: If docs needed, set a value
Doc Text:
An input validation flaw was found in Squid. This issue could allow a malicious server in collaboration with a trusted client to consume arbitrarily large amounts of memory on the server running Squid. The highest threat from this vulnerability is to system availability.
Clone Of:
Environment:
Last Closed: 2021-11-09 18:53:12 UTC


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2021:4292 0 None None None 2021-11-09 18:05:47 UTC

Description Mauro Matteo Cascella 2021-05-19 15:03:01 UTC
Due to an input validation bug Squid is vulnerable to a Denial of Service against all clients using the proxy. This problem allows a malicious server in collaboration with a trusted client to consume arbitrarily large amounts of memory on the server running Squid. Lack of available memory resources impacts all services on the machine running Squid. Once initiated the DoS situation will persist until Squid is shutdown.

Upstream security advisory:
https://github.com/squid-cache/squid/security/advisories/GHSA-ch36-9jhx-phm4

Comment 1 Mauro Matteo Cascella 2021-05-22 21:03:01 UTC
Created squid tracking bugs for this issue:

Affects: fedora-all [bug 1963391]

Comment 3 Mauro Matteo Cascella 2021-05-23 14:28:22 UTC
This flaw exists due to a memory leak when processing URN resource identifiers in urnParseReply() in src/urn.cc. The bug was fixed by releasing the temporary buffer at the end of the function.

Upstream pull request:
https://github.com/squid-cache/squid/pull/778

Upstream commits:
https://github.com/squid-cache/squid/commit/47a085ff06598b64817875769022b8707a0af7db [master]
https://github.com/squid-cache/squid/commit/f5c56cdbd058c49fe2f75fe5995f40414c2fd206 [v5]
https://github.com/squid-cache/squid/commit/a975fd5aedc866629214aaaccb38376855351899 [v4]

Comment 6 errata-xmlrpc 2021-11-09 18:05:45 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2021:4292 https://access.redhat.com/errata/RHSA-2021:4292

Comment 7 Product Security DevOps Team 2021-11-09 18:53:10 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2021-28651


Note You need to log in before you can comment on or make changes to this bug.