Skip to content
OpenAdvisories
Medium · 6.7 Public exploit CVE-2021-4178 EUVD-2022-6304GHSA-98g7-rxmf-rrxm

fabric8 kubernetes-client vulnerable

Published Aug 24, 2022 · Updated Aug 3, 2024 · Assigned by redhat

Description

A arbitrary code execution flaw was found in the Fabric 8 Kubernetes client affecting versions 5.0.0-beta-1 and above. Due to an improperly configured YAML parsing, this will allow a local and privileged attacker to supply malicious YAML.

Affected products

VendorProductAffectedFixed
— kubernetes-client Affects 5.x versions, Fixed in kubernetes-client v5.0.3 and above. —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Red Hat Ocp Tools 4 jenkins 2.387.3.1684911776-3.el8 RHSA-2023:3299
Red Hat Ocp Tools 4 jenkins-2-plugins 4.13.1684911916-1.el8 RHSA-2023:3299

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven io.fabric8:kubernetes-client >= 5.0.0-beta-1, < 5.0.3 5.0.3 GHSA-98g7-rxmf-rrxm
Maven io.fabric8:kubernetes-client >= 5.1.0, < 5.1.2 5.1.2 GHSA-98g7-rxmf-rrxm
Maven io.fabric8:kubernetes-client >= 5.2.0, < 5.3.2 5.3.2 GHSA-98g7-rxmf-rrxm
Maven io.fabric8:kubernetes-client >= 5.5.0, < 5.7.4 5.7.4 GHSA-98g7-rxmf-rrxm
Maven io.fabric8:kubernetes-client >= 5.8.0, < 5.8.1 5.8.1 GHSA-98g7-rxmf-rrxm
Maven io.fabric8:kubernetes-client >= 5.9.0, < 5.10.2 5.10.2 GHSA-98g7-rxmf-rrxm
Maven io.fabric8:kubernetes-client >= 5.11.0, < 5.11.2 5.11.2 GHSA-98g7-rxmf-rrxm

Advisories 2

References