Advisory Details

August 2nd, 2022

NetBSD Kernel stat System Call Uninitialized Memory Information Disclosure Vulnerability

ZDI-22-1036
ZDI-CAN-14807

CVE ID
CVSS SCORE 5.5, AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
AFFECTED VENDORS NetBSD
AFFECTED PRODUCTS Kernel
VULNERABILITY DETAILS


This vulnerability allows local attackers to disclose sensitive information on affected installations of NetBSD Kernel. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability.

The specific flaw exists within the stat system call. The issue results from the lack of proper initialization of memory prior to accessing it. An attacker can leverage this in conjunction with other vulnerabilities to escalate privileges and execute arbitrary code in the context of the kernel.

ADDITIONAL DETAILS NetBSD has issued an update to correct this vulnerability. More details can be found at:
https://mail-index.netbsd.org/source-changes/2021/08/15/msg131566.html
DISCLOSURE TIMELINE
  • 2022-01-19 - Vulnerability reported to vendor
  • 2022-08-02 - Coordinated public release of advisory
  • 2022-08-03 - Advisory Updated
CREDIT Reno Robert of Trend Micro Zero Day Initiative
BACK TO ADVISORIES