Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 154327 - Kernel: fix ip6_tables bypass bugs (CVE-2006-4572)
Summary: Kernel: fix ip6_tables bypass bugs (CVE-2006-4572)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Security
Classification: Unclassified
Component: Kernel (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Security
URL: http://git.kernel.org/?p=linux/kernel...
Whiteboard: [linux <2.6.16.31] [linux >=2.6.17 <2...
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-07 00:50 UTC by Sune Kloppenborg Jeppesen (RETIRED)
Modified: 2009-07-11 11:04 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sune Kloppenborg Jeppesen (RETIRED) gentoo-dev 2006-11-07 00:50:42 UTC
[NETFILTER]: Fix ip6_tables extension header bypass bug

As reported by Mark Dowd <Mark_Dowd@McAfee.com>, ip6_tables is susceptible
to a fragmentation attack causing false negatives on extension header matches.

When extension headers occur in the non-first fragment after the fragment
header (possibly with an incorrect nexthdr value in the fragment header)
a rule looking for this extension header will never match.

Drop fragments that are at offset 0 and don't contain the final protocol
header regardless of the ruleset, since this should not happen normally.
Since all extension headers are before the protocol header this makes sure
an extension header is either not present or in the first fragment, where
we can properly parse it.

With help from Yasuyuki KOZAKAI <yasuyuki.kozakai@toshiba.co.jp>.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Comment 1 Harlan Lieberman-Berg (RETIRED) gentoo-dev 2006-12-21 19:18:59 UTC
hppa-sources: Gmsoft, bump to 2.6.19 or patch please.
mips-sources: Kumba, bump to 2.6.19 or patch please.
rsbac-sources: Kang, bump to 2.6.19 or patch please.
systrace-sources: Lcars, bump to 2.6.19 or patch please.
usermode-sources: Dang, bump to 2.6.19 or patch please.
xen-sources: Someone.... bump to 2.6.19 or patch please.
Comment 2 Guy Martin (RETIRED) gentoo-dev 2006-12-23 03:51:25 UTC
hppa-sources-2.6.19.1 commited.
Comment 3 Daniel Gryniewicz (RETIRED) gentoo-dev 2007-01-02 20:32:26 UTC
usermode-sources-2.6.18-r1 is added.
Comment 4 Guillaume Destuynder (RETIRED) gentoo-dev 2007-01-12 13:41:00 UTC
rsbac-sources-2.6.19 is in cvs (~arch)
Comment 5 Andrew Ross (RETIRED) gentoo-dev 2007-01-27 06:03:07 UTC
Thanks, this is fixed in xen-sources-2.6.16.28-r2, which will hit the tree in a few hours (just waiting for the mirrors to update before I commit the ebuild).
Comment 6 Harlan Lieberman-Berg (RETIRED) gentoo-dev 2007-05-21 23:20:01 UTC
.