Bug 1470232 (CVE-2016-10396)

Summary: CVE-2016-10396 ipsec-tools: Parsing and storing ISAKMP fragments in malicious order can exhaust resources
Product: [Other] Security Response Reporter: Andrej Nemec <anemec>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: bloch, pwouters, tmraz
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-07-12 14:43:15 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: 1470233, 1470234    
Bug Blocks:    

Description Andrej Nemec 2017-07-12 14:39:29 UTC
The racoon daemon in IPsec-Tools 0.8.2 contains a remotely exploitable
computational-complexity attack when parsing and storing ISAKMP
fragments. The implementation permits a remote attacker to exhaust
computational resources on the remote endpoint by repeatedly sending
ISAKMP fragment packets in a particular order such that the worst-case
computational complexity is realized in the algorithm utilized to
determine if reassembly of the fragments can take place.

References:

https://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=51682

Upstream patch:

http://cvsweb.netbsd.org/bsdweb.cgi/src/crypto/dist/ipsec-tools/src/racoon/isakmp_frag.c.diff?r1=1.5&r2=1.5.36.1

Comment 1 Andrej Nemec 2017-07-12 14:39:51 UTC
Created ipsec-tools tracking bugs for this issue:

Affects: epel-all [bug 1470233]
Affects: fedora-all [bug 1470234]