Bug 723429 (CVE-2011-2699)

Summary: CVE-2011-2699 kernel: ipv6: make fragment identifications less predictable
Product: [Other] Security Response Reporter: Eugene Teo (Security Response) <eteo>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: anton, arozansk, bhu, cww, davej, dhoward, fhrbata, jkacur, jpirko, kernel-mgr, kmcmartin, lgoncalv, lwang, mjc, plougher, pmatouse, pneedle, rt-maint, sforsber, tcallawa, vgoyal, williams
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-05-10 08:13:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 723430, 723431, 723432, 723433, 723434, 748667, 761356, 773543    
Bug Blocks: 717530    

Description Eugene Teo (Security Response) 2011-07-20 06:54:53 UTC
IPv6 fragment identification generation is way beyond what we use for IPv4 : It uses a single generator. Its not scalable and allows DOS attacks.

Now inetpeer is IPv6 aware, we can use it to provide a more secure and scalable frag ident generator (per destination, instead of system wide)

This patch :
1) defines a new secure_ipv6_id() helper
2) extends inet_getid() to provide 32bit results
3) extends ipv6_select_ident() with a new dest parameter



Red Hat would like to thank Fernando Gont for reporting this issue.

Comment 7 Petr Matousek 2011-07-20 10:06:47 UTC

This issue did not affect the Linux kernel as shipped with Red Hat Enterprise MRG as it has backported the fix that addresses this issue. Red Hat Enterprise Linux 4 is now in Production 3 of the maintenance life-cycle, https://access.redhat.com/support/policy/updates/errata/, therefore the fix for this issue is not currently planned to be included in the future updates. This has been addressed in Red Hat Enterprise Linux 5 and 6 via https://rhn.redhat.com/errata/RHSA-2011-1386.html and https://rhn.redhat.com/errata/RHSA-2011-1465.html.

Comment 9 Eugene Teo (Security Response) 2011-07-26 09:00:50 UTC
Upstream commit:

Comment 11 Eugene Teo (Security Response) 2011-08-24 05:11:11 UTC
(In reply to comment #9)
> Upstream commit:
> http://git.kernel.org/linus/87c48fa3b4630905f98268dde838ee43626a060c

I believe this is the one we want to backport; http://permalink.gmane.org/gmane.linux.kernel.stable/16086

Comment 16 errata-xmlrpc 2011-10-20 17:28:27 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5

Via RHSA-2011:1386 https://rhn.redhat.com/errata/RHSA-2011-1386.html

Comment 17 Eugene Teo (Security Response) 2011-10-25 03:33:26 UTC
Created kernel tracking bugs for this issue

Affects: fedora-all [bug 748667]

Comment 19 errata-xmlrpc 2011-11-22 16:49:44 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

Via RHSA-2011:1465 https://rhn.redhat.com/errata/RHSA-2011-1465.html

Comment 22 errata-xmlrpc 2012-03-06 17:43:31 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5.6 EUS - Server Only

Via RHSA-2012:0358 https://rhn.redhat.com/errata/RHSA-2012-0358.html