Information disclosure in FreeBSD
CVE-2017-1086
In FreeBSD before 11.1-STABLE, 11.1-RELEASE-p4, 11.0-RELEASE-p15, 10.4-STABLE, 10.4-RELEASE-p3, and 10.3-RELEASE-p24, not all information in the struct ptrace_lwpinfo is relevant for the state of any thread, and the kernel does not fill the irrelevant bytes or short strings. Since the structure filled by the kernel is allocated on the kernel stack and copied to userspace, a leak of information of the kernel stack of the thread is possible from the debugger. As a result, some bytes from the kernel stack of the thread using ptrace (PT_LWPINFO) call can be observed in userspace.
Vulnerability class: Information Disclosure
Published · last modified .
CVSS v3 metric
CVSS v3 base score 3.3 (Low). Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N.
EPSS exploit prediction
EPSS 0.004, 30.5th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- FreeBSD — versions All supported versions of FreeBSD
Weakness classification (CWE)
References
- www.securitytracker.com/id/1039809 (Third Party Advisory, VDB Entry, vdb-entry)
- www.securityfocus.com/bid/101861 (Third Party Advisory, VDB Entry, vdb-entry)
- FreeBSD-SA-17:08 (vendor-advisory, Vendor Advisory)