GHSA-qmcv-hh7c-3m56
H2O-3 is Vulnerable to Code Injection
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Maven | ai.h2o:h2o-core | < 3.46.0.10 | 3.46.0.10 |
Details
As written in the advisory (Markdown source, shown as plain text).
A critical remote code execution vulnerability exists in the unauthenticated REST API endpoint /99/ImportSQLTable in H2O-3 version 3.46.0.9 and prior. The vulnerability arises due to insufficient security controls in the parameter blacklist mechanism, which only targets MySQL JDBC driver-specific dangerous parameters. An attacker can bypass these controls by switching the JDBC URL protocol to jdbc:postgresql: and exploiting PostgreSQL JDBC driver-specific parameters such as socketFactory and socketFactoryArg. This allows unauthenticated attackers to execute arbitrary code on the H2O-3 server with the privileges of the H2O-3 process. The issue is resolved in version 3.46.0.10.
References
External links from the advisory. They lead to third-party sites.