Buffer overflow in FreeBSD - CVE-2019-5596

 

Buffer overflow in FreeBSD - CVE-2019-5596

Published: February 6, 2019 / Updated: March 29, 2023


Vulnerability identifier: #VU17378
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-2019-5596
CWE-ID: CWE-120
Exploitation vector: Local access
Exploit availability: Public exploit is available
Vendor: FreeBSD Foundation
Affected software:
FreeBSD

Detailed vulnerability description

The vulnerability allows a local attacker to escalate privileges on the system.

The vulnerability exists in /dev/fd/due to the application attempts to handle the case where the receiving process does not provide a sufficiently large buffer for an incoming control message containing rights. A local attacker can cause the reference counter to wrap around and free the file structure and gain root privileges.


How to mitigate CVE-2019-5596

Install updates from vendor's website.

Sources