Skip to content

CVE-2023-2431: Bypass of seccomp profile enforcement  #118690

Closed
@SaranBalaji90

Description

@SaranBalaji90

What happened?

A security issue was discovered in Kubelet that allows pods to bypass the seccomp profile enforcement. This issue has been rated LOW (CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N) (score: 3.4).

If you have pods in your cluster that use localhost type for seccomp profile but specify an empty profile field, then you are affected by this issue. In this scenario, this vulnerability allows the pod to run in “unconfined” (seccomp disabled) mode. This bug affects Kubelet.

How can we reproduce it (as minimally and precisely as possible)?

This can be reproduced by creating a pod with following sample seccomp Localhost profile -

          localhostProfile: ""

https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.27/#seccompprofile-v1-core

Kubernetes version

Affected Versions
v1.27.0 - v1.27.1
v1.26.0 - v1.26.4
v1.25.0 - v1.25.9
<= v1.24.13

Fixed Versions
v1.27.2
v1.26.5
v1.25.10
V1.24.14

Anything else we need to know?

How do I remediate this vulnerability?
To remediate this vulnerability you should upgrade your Kubelet to one of the below mentioned versions.

Acknowledgements
This vulnerability was reported by Tim Allclair, and fixed by Craig Ingram.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/kubeletarea/securitycommittee/security-responseDenotes an issue or PR intended to be handled by the product security committee.kind/bugCategorizes issue or PR as related to a bug.needs-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.official-cve-feedIssues or PRs related to CVEs officially announced by Security Response Committee (SRC)sig/nodeCategorizes an issue or PR as relevant to SIG Node.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions