Bug 1468550 (CVE-2017-10985) - CVE-2017-10985 freeradius: Infinite loop and memory exhaustion with 'concat' attributes
Summary: CVE-2017-10985 freeradius: Infinite loop and memory exhaustion with 'concat' ...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2017-10985
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:
Depends On: 1469416 1469417 1471863
Blocks: 1468570
TreeView+ depends on / blocked
 
Reported: 2017-07-07 11:48 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:
A denial of service flaw was found in the way FreeRADIUS server handled certain attributes in request packets. A remote attacker could use this flaw to cause the FreeRADIUS server to enter an infinite loop, consume increasing amounts of memory resources, and ultimately crash by sending a specially crafted request packet.
Clone Of:
Environment:
Last Closed: 2017-08-02 09:41:17 UTC
Embargoed:


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


Links
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:48:21 UTC
When the server receives zero-length attributes marked 'concat' in the dictionaries, it could go into an infinite loop and exhaust memory. The issue happens when the server receives a packet containing the following attribute data: 4f 02, 89 02, 90 02, or b4 02.

The security impact is denial of service by anyone who can send packets which are accepted by the server.

Affected versions: 3.0.0 through 3.0.14, inclusive.

Comment 1 Adam Mariš 2017-07-07 11:48:26 UTC
Acknowledgments:

Name: the FreeRADIUS project
Upstream: Guido Vranken

Comment 2 Adam Mariš 2017-07-07 12:06:16 UTC
Created attachment 1295269 [details]
Proposed patch

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

Affects: fedora-all [bug 1471863]

Comment 6 errata-xmlrpc 2017-08-01 23:25:14 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:05 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.