Bug 1468493 (CVE-2017-10980)

Summary: CVE-2017-10980 freeradius: Memory leak in decode_tlv()
Product: [Other] Security Response Reporter: Adam Mariš <amaris>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: dpal, jdennis, lemenkov, nikolai.kondrashov, pkis, security-response-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: freeradius 2.2.10 Doc Type: If docs needed, set a value
Doc Text:
A memory leak flaw was found in the way FreeRADIUS server handles decoding of DHCP packets. A remote attacker could use this flaw to cause the FreeRADIUS server to consume an increasing amount of memory resources over time possibly leading to a crash due to memory exhaustion.
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-02 09:37:51 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: 1469120, 1469121, 1471852    
Bug Blocks: 1468570    
Attachments:
Description Flags
Proposed patch none

Description Adam Mariš 2017-07-07 09:01:09 UTC
It was discovered that decode_tlv() function leaked memory in certain circumstances.

The security impact is denial of service by any network device capable of sending DHCP packets to FreeRADIUS, which sends option 82 with multiple sub-options.

Affected versions: 2.0.0 through 2.2.9, inclusive.

Comment 1 Adam Mariš 2017-07-07 09:01:15 UTC
Acknowledgments:

Name: the FreeRADIUS project
Upstream: Guido Vranken

Comment 2 Adam Mariš 2017-07-07 12:14:42 UTC
Created attachment 1295280 [details]
Proposed patch

Comment 6 Dhiru Kholia 2017-07-17 14:32:40 UTC
Created freeradius tracking bugs for this issue:

Affects: fedora-all [bug 1471852]

Comment 7 errata-xmlrpc 2017-07-18 03:42:08 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 6

Via RHSA-2017:1759 https://access.redhat.com/errata/RHSA-2017:1759

Comment 8 Dhiru Kholia 2017-08-02 09:46:21 UTC
External References:

http://freeradius.org/security/fuzzer-2017.html