Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 484804 (CVE-2013-4350) - Kernel : net: sctp: ipv6 ipsec encryption bug in sctp_v6_xmit (CVE-2013-4350)
Summary: Kernel : net: sctp: ipv6 ipsec encryption bug in sctp_v6_xmit (CVE-2013-4350)
Status: RESOLVED FIXED
Alias: CVE-2013-4350
Product: Gentoo Security
Classification: Unclassified
Component: Kernel (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Kernel Security
URL: https://bugzilla.redhat.com/show_bug....
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-13 18:47 UTC by Agostino Sarubbo
Modified: 2022-03-25 15:37 UTC (History)
1 user (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 Agostino Sarubbo gentoo-dev 2013-09-13 18:47:23 UTC
From ${URL} :

Alan Chester reported an issue with IPv6 on SCTP that IPsec traffic is not
being encrypted, whereas on IPv4 it is. Setting up an AH + ESP transport
does not seem to have the desired effect:

SCTP + IPv4:

 22:14:20.809645 IP (tos 0x2,ECT(0), ttl 64, id 0, offset 0, flags [DF], proto AH (51), length 116)
     192.168.0.2 > 192.168.0.5: AH(spi=0x00000042,sumlen=16,seq=0x1): ESP(spi=0x00000044,seq=0x1), 
length 72
 22:14:20.813270 IP (tos 0x2,ECT(0), ttl 64, id 0, offset 0, flags [DF], proto AH (51), length 340)
     192.168.0.5 > 192.168.0.2: AH(spi=0x00000043,sumlen=16,seq=0x1):

SCTP + IPv6:

 22:31:19.215029 IP6 (class 0x02, hlim 64, next-header SCTP (132) payload length: 364)
     fe80::222:15ff:fe87:7fc.3333 > fe80::92e6:baff:fe0d:5a54.36767: sctp
     1) [INIT ACK] [init tag: 747759530] [rwnd: 62464] [OS: 10] [MIS: 10]

References:
https://bugzilla.kernel.org/show_bug.cgi?id=24412

Upstream fix:
http://git.kernel.org/cgit/linux/kernel/git/davem/net.git/commit/?id=95ee62083cb6453e056562d91f597552021e6ae7
Comment 1 GLSAMaker/CVETool Bot gentoo-dev 2013-09-30 16:25:41 UTC
CVE-2013-4350 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2013-4350):
  The IPv6 SCTP implementation in net/sctp/ipv6.c in the Linux kernel through
  3.11.1 uses data structures and function calls that do not trigger an
  intended configuration of IPsec encryption, which allows remote attackers to
  obtain sensitive information by sniffing the network.
Comment 2 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-03-25 15:37:16 UTC
In 3.11.5 onwards