Intel

AIKIDO-2024-10414

h2o is vulnerable to Deserialization of Untrusted Data

Deserialization of Untrusted DataCVE-2020-45758 Published Nov 5, 2024

92

Critical Risk

This Affects:

pythonh2o
3.10.0.3 - 3.46.0.5
Fixed in 3.46.0.6
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to unauthenticated Remote Code Execution (RCE) via an unrestricted JDBC connection. Despite the intention to use the getConnectionSafe method for secure connections, no restrictions are imposed on the JDBC connection settings. This allows attackers to arbitrarily set the JDBC URL, potentially leading to deserialization attacks, file reading, command execution, and other severe security risks on the victim's server.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

h2o is vulnerable to Deserialization of Untrusted Data in versions 3.10.0.3 - 3.46.0.5.

How to fix this

Upgrade the h2o library to the patch version.