Bug 1312257 (CVE-2016-2569, CVE-2016-2570) - CVE-2016-2569 CVE-2016-2570 squid: some code paths fail to check bounds in string object
Summary: CVE-2016-2569 CVE-2016-2570 squid: some code paths fail to check bounds in st...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2016-2569, CVE-2016-2570
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:
: 1311584 (view as bug list)
Depends On: 1312267 1322770
Blocks: 1311588 1312266
TreeView+ depends on / blocked
 
Reported: 2016-02-26 09:10 UTC by Andrej Nemec
Modified: 2021-02-17 04:16 UTC (History)
9 users (show)

Fixed In Version: squid 4.0.7, squid 3.5.15
Doc Type: Bug Fix
Doc Text:
Incorrect boundary checks were found in the way squid handled headers in HTTP responses, which could lead to an assertion failure. A malicious HTTP server could use this flaw to crash squid using a specially crafted HTTP response.
Clone Of:
Environment:
Last Closed: 2016-11-04 09:01:30 UTC


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2016:2600 0 normal SHIPPED_LIVE Moderate: squid security, bug fix, and enhancement update 2016-11-03 12:12:25 UTC

Description Andrej Nemec 2016-02-26 09:10:09 UTC
The proxy contains a String object class with 64KB content limits.
Some code paths do not bounds check before appending to these String
and overflow leads to an assertion which terminates all client
transactions using the proxy, including those unrelated to the limit
being exceeded.

Upstream patches:

http://www.squid-cache.org/Versions/v3/3.5/changesets/squid-3.5-13991.patch
http://www.squid-cache.org/Versions/v4/changesets/squid-4-14552.patch

External references:

http://www.squid-cache.org/Advisories/SQUID-2016_2.txt

CVE assignment:

http://seclists.org/oss-sec/2016/q1/442

Comment 1 Andrej Nemec 2016-02-26 09:15:35 UTC
Added CVE 2016-2570, as it relates to other patches for the same issue.

Upstream comment about this:

This patch fixes the other related variant of the basic problem.
Though this instance is not triggerable from outside a controlled CDN
environment

Upstream patches for this CVE:

http://www.squid-cache.org/Versions/v3/3.5/changesets/squid-3.5-13993.patch
http://www.squid-cache.org/Versions/v4/changesets/squid-4-14549.patch

Comment 2 Adam Mariš 2016-03-02 15:09:38 UTC
*** Bug 1311584 has been marked as a duplicate of this bug. ***

Comment 11 errata-xmlrpc 2016-11-03 21:16:52 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2016:2600 https://rhn.redhat.com/errata/RHSA-2016-2600.html

Comment 13 Andrej Nemec 2017-09-08 11:53:49 UTC
Statement:

Red Hat Product Security has rated this issue as having Moderate security impact. This issue is not currently planned to be addressed in future updates. 

For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.


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