Loading HuntDB...

Loading YAML in Java client can lead to command execution

Medium
K
Kubernetes
Submitted None

Team Summary

Official summary from Kubernetes

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.

Reported by j0v

Report Details

Additional information and metadata

State

Closed

Substate

Resolved

Bounty

$1000.00

Submitted

Weakness

Deserialization of Untrusted Data