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: 8.5 [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]
CVE-ID: CVE-2017-1085
CWE-ID: CWE-119
Exploitation vector: Local access
Exploit availability: Public exploit is available

Vulnerability details

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.


Affected software

FreeBSD

How to mitigate CVE-2017-1085

Install update from vendor's website.

FreeBSD - update to 11.2

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins