CVE-2023-4016 Memory corruption in Linux Kernal

Low 2.5 Published Updated

A local attacker can write unfiltered data to the process heap via the ps utility, potentially leading to code execution or privilege escalation.

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-4016?

CVE-2023-4016 is a low-severity memory corruption vulnerability in Fedoraproject Fedora, published on 2 Aug 2023. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Under some circumstances, this weakness allows a user who has access to run the “ps” utility on a machine, the ability to write almost unlimited amounts of unfiltered data into the process heap.

Weakness: CWE-787, CWE-122

Which versions are affected by CVE-2023-4016?

It affects 2 products.

Linux distribution packages (40)
procps-ng AlmaLinux:8All versions3.3.15-14.el8
procps-ng-devel AlmaLinux:8All versions3.3.15-14.el8
procps-ng-i18n AlmaLinux:8All versions3.3.15-14.el8
procps-ng AlmaLinux:9All versions3.3.17-13.el9
procps-ng-devel AlmaLinux:9All versions3.3.17-13.el9
procps-ng-i18n AlmaLinux:9All versions3.3.17-13.el9
procps-ng Red Hat:enterprise_linux:8::baseosAll versions0:3.3.15-14.el8
procps-ng-debuginfo Red Hat:enterprise_linux:8::baseosAll versions0:3.3.15-14.el8
procps-ng-debugsource Red Hat:enterprise_linux:8::baseosAll versions0:3.3.15-14.el8
procps-ng-i18n Red Hat:enterprise_linux:8::baseosAll versions0:3.3.15-14.el8
procps-ng-debuginfo Red Hat:enterprise_linux:8::crbAll versions0:3.3.15-14.el8
procps-ng-debugsource Red Hat:enterprise_linux:8::crbAll versions0:3.3.15-14.el8
procps-ng-devel Red Hat:enterprise_linux:8::crbAll versions0:3.3.15-14.el8
procps-ng Red Hat:enterprise_linux:9::baseosAll versions0:3.3.17-13.el9
procps-ng-debuginfo Red Hat:enterprise_linux:9::baseosAll versions0:3.3.17-13.el9
procps-ng-debugsource Red Hat:enterprise_linux:9::baseosAll versions0:3.3.17-13.el9
procps-ng-i18n Red Hat:enterprise_linux:9::baseosAll versions0:3.3.17-13.el9
procps-ng-debuginfo Red Hat:enterprise_linux:9::crbAll versions0:3.3.17-13.el9
procps-ng-debugsource Red Hat:enterprise_linux:9::crbAll versions0:3.3.17-13.el9
procps-ng-devel Red Hat:enterprise_linux:9::crbAll versions0:3.3.17-13.el9
procps-ng Rocky Linux:8All versions0:3.3.15-14.el8
procps SUSE:Enterprise Storage 7.1All versions3.3.17-150000.7.42.1
procps SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSAll versions3.3.17-150000.7.42.1
procps SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOSAll versions3.3.17-150000.7.42.1
procps SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSSAll versions3.3.17-150000.7.42.1
procps SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOSAll versions3.3.17-150000.7.42.1
procps SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSSAll versions3.3.17-150000.7.42.1
procps SUSE:Linux Enterprise Micro 5.1All versions3.3.15-150000.7.34.1
procps SUSE:Linux Enterprise Micro 5.1All versions3.3.17-150000.7.42.1
procps SUSE:Linux Enterprise Micro 5.2All versions3.3.15-150000.7.34.1
procps SUSE:Linux Enterprise Micro 5.2All versions3.3.17-150000.7.42.1
procps SUSE:Linux Enterprise Micro 5.3All versions3.3.15-150000.7.34.1
procps SUSE:Linux Enterprise Micro 5.3All versions3.3.17-150000.7.42.1
procps SUSE:Linux Enterprise Micro 5.4All versions3.3.15-150000.7.34.1
procps SUSE:Linux Enterprise Micro 5.4All versions3.3.17-150000.7.42.1
procps SUSE:Linux Enterprise Micro 5.5All versions3.3.17-150000.7.42.1
procps SUSE:Linux Enterprise Module for Basesystem 15 SP4All versions3.3.15-150000.7.34.1
procps SUSE:Linux Enterprise Module for Basesystem 15 SP5All versions3.3.15-150000.7.34.1
procps SUSE:Linux Enterprise Module for Basesystem 15 SP6All versions3.3.17-150000.7.42.1
procps SUSE:Linux Enterprise Server 12 SP5All versions3.3.9-11.27.1

Products include Fedoraproject Fedora, Procps Project Procps.

How do I fix CVE-2023-4016?

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-4016 being exploited?

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

All Fedoraproject Fedora vulnerabilities

Sources

Also known as ALPINE-CVE-2023-4016, ALSA-2023:6705, ALSA-2023:7187, CLSA-2023-1701706316, CLSA-2023-1701706444, CLSA-2024-1718202251 and 23 more.

Is CVE-2023-4016 in your software?

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

Check your SBOMs for free