CVE-2024-5550: H2o Arbitrary System Path Lookup Vulnerability
MODERATECVE-2024-5550 is a MODERATE (CVSS 5.3) arbitrary system path lookup vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting H2o libraries in the PyPI ecosystem. The issue involves arbitrary system path lookup in h20. Remediation is available in the latest vendor maintenance releases.
CVE-2024-5550 at a Glance
Security Impact
CVSS: 5.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N).
How to Fix CVE-2024-5550
To remediate this vulnerability, upgrade all affected H2o dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install h2o>=Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show h2o
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2024-5550, inspect your installed packages using pip:
pip show h2o
Analyze the terminal output to locate any version of H2o in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The pip show h2o command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In H2o, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-5550 Affected H2o Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
h2o
|
PyPI |
≤ 3.40.0.4
|
|
References
Frequently Asked Questions
What is CVE-2024-5550?
Which H2o versions are affected?
What version fixes CVE-2024-5550?
Is h2o affected?
What is the CVSS score of CVE-2024-5550?
What CWE is associated with CVE-2024-5550?
How can I check PyPI dependencies for CVE-2024-5550?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-x234-r5fg-x52m",
"modified" : "2024-06-06T22:57:21Z",
"published" : "2024-06-06T21:30:37Z",
"aliases" : [ "CVE-2024-5550" ],
"summary" : "Arbitrary system path lookup in h20",
"details" : "In h2oai/h2o-3 version 3.40.0.4, an exposure of sensitive information vulnerability exists due to an arbitrary system path lookup feature. This vulnerability allows any remote user to view full paths in the entire file system where h2o-3 is hosted. Specifically, the issue resides in the Typeahead API call, which when requested with a typeahead lookup of '/', exposes the root filesystem including directories such as /home, /usr, /bin, among others. This vulnerability could allow attackers to explore the entire filesystem, and when combined with a Local File Inclusion (LFI) vulnerability, could make exploitation of the server trivial.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "h2o"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "3.40.0.4"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-5550"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/h2oai/h2o-3"
}, {
"type" : "WEB",
"url" : "https://huntr.com/bounties/e76372c2-39be-4984-a7c8-7048a75a25dc"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200", "CWE-22" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-06-06T22:57:21Z",
"nvd_published_at" : "2024-06-06T19:16:09Z"
}
}