Bug 1323590 (CVE-2016-3947)

Summary: CVE-2016-3947 squid: buffer overrun in Squid proxy pinger
Product: [Other] Security Response Reporter: Andrej Nemec <anemec>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: cbuissar, henrik, jonathansteffan, luhliari, psimerda, thozza
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: squid 3.5.16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-05 13:22:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1323591    
Bug Blocks: 1323611    

Description Andrej Nemec 2016-04-04 07:43:01 UTC
A buffer overrun (on write(2)) has been found in Squid proxy 'pinger'
process that allows an attacker to craft ICMPv6 messages that will
either crash the child process (if the OS protects against over-write)
or alter heap contents allowing the attacker to bypass CVE-2014-7142
protection and leak arbitrary heap data into the Squid log files. The
pinger is setuid root (though it does drop those privileges prior to
this attack being possible).

Upstream fix:

http://www.squid-cache.org/Versions/v3/3.5/changesets/squid-3.5-14015.patch

External references:

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

References:

http://seclists.org/oss-sec/2016/q2/2

Comment 1 Andrej Nemec 2016-04-04 07:43:34 UTC
Created squid tracking bugs for this issue:

Affects: fedora-all [bug 1323591]

Comment 2 Cedric Buissart 2016-04-05 13:18:48 UTC
Statement:

This issue did not affect the versions of squid as shipped with Red Hat Enterprise Linux 5, 6 and 7 as they did not include support for ICMP pinging and the 'pinger' binary.

Comment 4 Fedora Update System 2016-07-12 20:28:14 UTC
squid-3.5.19-2.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.

Comment 5 Fedora Update System 2016-07-12 23:52:56 UTC
squid-3.5.10-4.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.