WaratekVRT Sign in

CVE-2021-25738 Kubernetes Java

Affected softwareKubernetes Java
Severity6.7 Medium CVSS 3.1 3 scores
Fixed in11.0.1
WeaknessDeserialization of untrusted data (CWE-502)
Published11 Oct 2021
Updated17 Jun 2026

Description

Loading specially-crafted yaml with the Kubernetes Java Client library can lead to code execution.

CWE-20 · Improper input validation

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 5 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC none indexed
  • EPSS 0.47% chance in 30 days

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR deserialization security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-502: Deserialization of Untrusted Data.

How to mitigate CVE-2021-25738

Upgrade Kubernetes Java to 11.0.1 or later. Until you can, Waratek RASP blocks exploitation with its deserialization and process rules. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

CVSS

6.7 MEDIUM v3.1 CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H 3 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 6.7 MEDIUM CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H jordan@liggitt.net Secondary published
CVSS 3.1 6.7 MEDIUM CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H NVD Primary
CVSS 2.0 4.6 none AV:L/AC:L/Au:N/C:P/I:P/A:P NVD Primary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
io.kubernetes:client-java 0 11.0.1 unbounded

Products and versions

2 products, 4 version entries
SourceVendorProductSchemeAffected versions
osv io.kubernetes client-java generic < 11.0.1
nvd kubernetes java generic ≤ 9.0.2 · ≥ 10.0.0 and ≤ 10.0.1 · ≥ 11.0.0 and < 11.0.1

References

URLTags
https://github.com/kubernetes-client/java/issues/1698 WEB
https://github.com/kubernetes-client/java PACKAGE
https://groups.google.com/g/kubernetes-security-announce/c/K_pOK2WbAJk WEB
http://www.openwall.com/lists/oss-security/2022/08/23/2 WEB

Timeline

Published2021-10-11By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.