CVE-2023-0687 Memory corruption in C Library

Medium 4.6 Published Updated

A buffer overflow in the gmon component of the GNU C Library could allow code execution, though exploitation requires specific profiling configurations and is considered doubtful.

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

What is CVE-2023-0687?

CVE-2023-0687 is a medium-severity memory corruption vulnerability in Gnu Glibc, published on 6 Feb 2023. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A vulnerability was found in GNU C Library 2.38. It has been declared as critical. This vulnerability affects the function __monstartup of the file gmon.c of the component Call Graph Monitor. The manipulation leads to buffer overflow. It is recommended to apply a patch to fix this issue. VDB-220246 is the identifier assigned to this vulnerability. NOTE: The real existence of this vulnerability is still doubted at the moment. The inputs that induce this vulnerability are basically addresses of the running application that is built with gmon enabled. It's basically trusted input or input that needs an actual security flaw to be compromised or controlled.

Weakness: CWE-120

Which versions are affected by CVE-2023-0687?

It affects 1 product.

Linux distribution packages (16)
glibc SUSE:Enterprise Storage 7.1All versions2.31-150300.46.1
glibc SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOSAll versions2.31-150300.46.1
glibc SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSAll versions2.31-150300.46.1
glibc SUSE:Linux Enterprise Micro 5.1All versions2.31-150300.46.1
glibc SUSE:Linux Enterprise Micro 5.2All versions2.31-150300.46.1
glibc SUSE:Linux Enterprise Micro 5.3All versions2.31-150300.46.1
glibc SUSE:Linux Enterprise Micro 5.4All versions2.31-150300.46.1
glibc SUSE:Linux Enterprise Module for Basesystem 15 SP4All versions2.31-150300.46.1
glibc SUSE:Linux Enterprise Module for Development Tools 15 SP4All versions2.31-150300.46.1
glibc SUSE:Linux Enterprise Real Time 15 SP3All versions2.31-150300.46.1
glibc SUSE:Linux Enterprise Server 15 SP3-LTSSAll versions2.31-150300.46.1
glibc SUSE:Linux Enterprise Server for SAP Applications 15 SP3All versions2.31-150300.46.1
glibc SUSE:Manager Proxy 4.2All versions2.31-150300.46.1
glibc SUSE:Manager Server 4.2All versions2.31-150300.46.1
glibc openSUSE:Leap 15.4All versions2.31-150300.46.1
glibc openSUSE:Leap Micro 5.3All versions2.31-150300.46.1

Products include Gnu Glibc.

How do I fix CVE-2023-0687?

Apply the vendor's patch.

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

Is CVE-2023-0687 being exploited?

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

All Gnu Glibc vulnerabilities

Sources

Also known as GHSA-5r4p-4pqv-gqhw, MINI-4mhv-fqj9-c2qq, OESA-2023-1131, SUSE-SU-2023:1718-1, SUSE-SU-2023:1718-2.

Is CVE-2023-0687 in your software?

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

Check your SBOMs for free