What’s Vulnerable › Vulnerabilities
CVE-2022-23089: Out of bound read in elf_note_prpsinfo()
- Severity: medium (CVSS 4.7 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-02-15 · updated 2026-06-17
- Weakness: CWE-125
Description
When dumping core and saving process information, proc_getargv() might return an sbuf which have a sbuf_len() of 0 or -1, which is not properly handled. An out-of-bound read can happen when user constructs a specially crafted ps_string, which in turn can cause the kernel to crash.
Affected products
- FreeBSD: before 12.3; from 12.4 before 13.0; 12.3-beta1, 12.3-p1, 12.3-p2, 12.3-p3, 12.3-p4, 12.3-p5 (+25) — fixed in 12.3, 13.0
How to fix
Upgrade to a fixed version: FreeBSD 12.3, 13.0. Check the vendor advisory for mitigations.
References
- https://security.freebsd.org/advisories/FreeBSD-SA-22:09.elf.asc
- https://security.netapp.com/advisory/ntap-20240415-0006/
- https://security.freebsd.org/advisories/FreeBSD-SA-22:09.elf.asc
- https://security.netapp.com/advisory/ntap-20240415-0006/
Get alerted when CVE-2022-23089 or the next vulnerability affects your stack