Lucene search

K
hackeroneJ0vH1:1167773
HistoryApr 18, 2021 - 1:12 p.m.

Kubernetes: Loading YAML in Java client can lead to command execution

2021-04-1813:12:57
j0v
hackerone.com
$1000
14

0.0004 Low

EPSS

Percentile

15.9%

The io.kubernetes.client.util.Yaml file in the Kubernetes client library for Java uses a popular library SnakeYAML to serialize and deserialize YAML. The library has a feature which makes it possible to initiate instances of Java classes by using a YAML tag like !!some.Class [ “argument1” ]. More info about this feature can be found in the docs. This can be used to execute arbitrary code during the deserialization of a YAML file.
I wrote a small post about this report on my blog, you can find it here: https://j0vsec.com/post/cve-2021-25738/

0.0004 Low

EPSS

Percentile

15.9%