CVE-2022-23089 Out of bound read in elf_note_prpsinfo()

Medium 4.7 Published Updated

A crafted ps_string can trigger an out-of-bounds read in the FreeBSD kernel during core dumps, causing a system crash.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2022-23089?

CVE-2022-23089 is a medium-severity memory corruption vulnerability in Freebsd Freebsd, published on 15 Feb 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-125

Which versions are affected by CVE-2022-23089?

It affects 1 product.

Products include Freebsd Freebsd.

How do I fix CVE-2022-23089?

No fix has been published for CVE-2022-23089 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2022-23089 being exploited?

There is no known exploitation of CVE-2022-23089 in the wild and no public exploit code.

All Freebsd Freebsd vulnerabilities

Sources

Also known as GHSA-gr4v-q65c-996m.

Is CVE-2022-23089 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free