CVE-2023-2431 Bypass of seccomp profile enforcement

Low 3.4 Published Updated

Attackers can bypass seccomp profile enforcement in Kubernetes Kubelet by using an empty localhost profile, allowing pods to run unconfined.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2023-2431?

CVE-2023-2431 is a low-severity vulnerability in Fedoraproject Fedora, published on 16 Jun 2023. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A security issue was discovered in Kubelet that allows pods to bypass the seccomp profile enforcement. Pods that use localhost type for seccomp profile but specify an empty profile field, are affected by this issue. In this scenario, this vulnerability allows the pod to run in unconfined (seccomp disabled) mode. This bug affects Kubelet.

Weakness: CWE-1287

Which versions are affected by CVE-2023-2431?

9 open source packages ship an affected version, including k8s.io/kubernetes. It affects 2 products.

PackageAffectedFixed in
k8s.io/kubernetes GoAll versions1.24.14, 1.25.10, 1.26.5, 1.27.2
k8s.io/kubernetes GoAll versions1.24.14
k8s.io/kubernetes GoAll versions1.24.14
k8s.io/kubernetes GoFrom 1.25.01.25.10
k8s.io/kubernetes GoFrom 1.25.01.25.10
k8s.io/kubernetes GoFrom 1.26.01.26.5
3 more packages
k8s.io/kubernetes GoFrom 1.26.01.26.5
k8s.io/kubernetes GoFrom 1.27.01.27.2
k8s.io/kubernetes GoFrom 1.27.01.27.2
Linux distribution packages (3)
kubernetes1.23 SUSE:Linux Enterprise Module for Containers 15 SP5All versions1.23.17-150500.3.6.1
kubernetes1.23 openSUSE:Leap 15.5All versions1.23.17-150500.3.6.1
kubernetes1.23 openSUSE:TumbleweedAll versions1.23.17-5.1

Products include Fedoraproject Fedora, Kubernetes Kubernetes.

How do I fix CVE-2023-2431?

Upgrade k8s.io/kubernetes to a fixed version for your release line: 1.24.14, 1.25.10, 1.26.5 or 1.27.2.

Is CVE-2023-2431 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-2431 exists.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as DEBIAN-CVE-2023-2431, GHSA-xc8m-28vv-4pjc, GO-2023-1864, SUSE-SU-2023:2691-1, openSUSE-SU-2024:13013-1.

Is CVE-2023-2431 in your software?

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

Check your SBOMs for free