Bug 1468495 (CVE-2017-10981) - CVE-2017-10981 freeradius: Memory leak in fr_dhcp_decode()
Summary: CVE-2017-10981 freeradius: Memory leak in fr_dhcp_decode()
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2017-10981
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard: impact=moderate,public=20170717,repor...
Depends On: 1469122 1469123 1471853
Blocks: 1468570
TreeView+ depends on / blocked
 
Reported: 2017-07-07 09:07 UTC by Adam Mariš
Modified: 2019-06-08 22:06 UTC (History)
7 users (show)

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, by sending specially crafted DHCP packets.
Clone Of:
Environment:
Last Closed: 2017-08-02 09:38:42 UTC


Attachments (Terms of Use)
Proposed patch (898 bytes, patch)
2017-07-07 12:13 UTC, Adam Mariš
no flags Details | Diff


Links
System ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:1759 normal SHIPPED_LIVE Important: freeradius security update 2017-07-18 07:41:08 UTC

Description Adam Mariš 2017-07-07 09:07:02 UTC
It was discovered that if option decoding fails, the fr_dhcp_decode() function would leak memory.

The security impact is denial of service via memory exhaustion by any network device capable of sending DHCP packets to FreeRADIUS, which sends packets with malformed options.

Affected versions: 2.0.0 through 2.2.9, inclusive.

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

Name: the FreeRADIUS project
Upstream: Guido Vranken

Comment 2 Adam Mariš 2017-07-07 12:13:23 UTC
Created attachment 1295278 [details]
Proposed patch

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

Affects: fedora-all [bug 1471853]

Comment 7 errata-xmlrpc 2017-07-18 03:42:14 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:47:04 UTC
External References:

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


Note You need to log in before you can comment on or make changes to this bug.