Buffer overflow in FreeBSD - CVE-2017-1085

 

Buffer overflow in FreeBSD - CVE-2017-1085

Published: September 12, 2018 / Updated: July 20, 2020


Vulnerability identifier: #VU31216
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Clear
CVE-ID: CVE-2017-1085
CWE-ID: CWE-119
Exploitation vector: Local access
Exploit availability: Public exploit is available
Vendor: FreeBSD Foundation
Affected software:
FreeBSD

Detailed vulnerability description

The vulnerability allows a local authenticated user to execute arbitrary code.

In FreeBSD before 11.2-RELEASE, an application which calls setrlimit() to increase RLIMIT_STACK may turn a read-only memory region below the stack into a read-write region. A specially crafted executable could be exploited to execute arbitrary code in the user context.


How to mitigate CVE-2017-1085

Install update from vendor's website.

Sources