Bug 1468551 (CVE-2017-10986) - CVE-2017-10986 freeradius: Infinite read in dhcp_attr2vp()
Summary: CVE-2017-10986 freeradius: Infinite read in dhcp_attr2vp()
Alias: CVE-2017-10986
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 1469418 1469419 1471864
Blocks: 1468570
TreeView+ depends on / blocked
Reported: 2017-07-07 11:50 UTC by Adam Mariš
Modified: 2021-02-17 01:58 UTC (History)
6 users (show)

Fixed In Version: freeradius 3.0.15
Doc Type: If docs needed, set a value
Doc Text:
An out-of-bounds read flaw was found in the way FreeRADIUS server handled decoding of DHCP packets. A remote attacker could use this flaw to crash the FreeRADIUS server by sending a specially crafted DHCP request.
Clone Of:
Last Closed: 2017-08-02 09:41:18 UTC

Attachments (Terms of Use)
Proposed patch (1.32 KB, patch)
2017-07-07 12:04 UTC, Adam Mariš
no flags Details | Diff

System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:2389 0 normal SHIPPED_LIVE Important: freeradius security update 2017-08-01 19:45:02 UTC

Description Adam Mariš 2017-07-07 11:50:54 UTC
When decoding "string" options in an array, dhcp_attr2vp() could be convinced to call memchr() with a length argument of -1. This could result in an over-read until the first zero octet was found, or a page fault occured.

The security impact is denial of service by any network device capable of sending DHCP packets to FreeRADIUS, which sends string options to the server in an option array.

Affected versions: 3.0.0 through 3.0.14, inclusive.

Comment 1 Adam Mariš 2017-07-07 11:51:00 UTC

Name: the FreeRADIUS project
Upstream: Guido Vranken

Comment 2 Adam Mariš 2017-07-07 12:04:35 UTC
Created attachment 1295268 [details]
Proposed patch

Comment 5 Dhiru Kholia 2017-07-17 14:39:12 UTC
Created freeradius tracking bugs for this issue:

Affects: fedora-all [bug 1471864]

Comment 6 errata-xmlrpc 2017-08-01 23:25:20 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

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

Comment 7 Dhiru Kholia 2017-08-02 09:42:13 UTC
External References:


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