#VU9343 Memory leak in FreeBSD - CVE-2017-1088
Published: November 16, 2017 / Updated: November 16, 2017
Vulnerability identifier: #VU9343
Vulnerability risk: Low
CVSSv4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2017-1088
CWE-ID: CWE-401
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vulnerable software:
FreeBSD
FreeBSD
Software vendor:
FreeBSD Foundation
FreeBSD Foundation
Description
The vulnerability allows a local user to obtain potentially sensitive information.
The vulnerability exists in kldstat(2) system call implementation due to kernel does not properly clear the memory of the kld_file_stat structure before filling the data. Since the structure filled by the kernel is allocated on the kernel stack and copied to userspace, a leak of information from the kernel stack is possible.
A local user can gain access to potentially sensitive information.
Remediation
Install update from vendor's repository:
https://security.FreeBSD.org/patches/SA-17:10/kldstat.patch
https://security.FreeBSD.org/patches/SA-17:10/kldstat.patch.asc
https://security.FreeBSD.org/patches/SA-17:10/kldstat.patch
https://security.FreeBSD.org/patches/SA-17:10/kldstat.patch.asc