#VU9343 Memory leak in FreeBSD


Published: 2017-11-16 | Updated: 2017-11-16

Vulnerability identifier: #VU9343

Vulnerability risk: Low

CVSSv3.1: 3.3 [CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2017-1088

CWE-ID: CWE-401

Exploitation vector: Local

Exploit availability: No

Vulnerable software:
FreeBSD
Operating systems & Components / Operating system

Vendor: 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.

Mitigation
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

Vulnerable software versions

FreeBSD: 10.0 - 11.1


External links
http://www.freebsd.org/security/advisories/FreeBSD-SA-17:10.kldstat.asc


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability