CVE-2024-5550 Exposure of Sensitive Information via Arbitrary System Path Lookup in h2oai/h2o-3

Medium 5.3 Published Updated

Remote attackers can view the entire server filesystem via the Typeahead API, exposing sensitive directory structures and aiding further exploitation.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-5550?

CVE-2024-5550 is a medium-severity path traversal vulnerability in h2oai/h2o-3, published on 6 Jun 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-22

Which versions are affected by CVE-2024-5550?

3 open source packages ship an affected version, including h2o. It affects 1 product.

PackageAffectedFixed in
h2o PyPIAll versions to 3.40.0.4None
h2o PyPIAll versions to 3.40.0.4None
h2o PyPIAll versions to 3.40.0.4None

Products include H2o H2o.

How do I fix CVE-2024-5550?

No fix has been published for CVE-2024-5550 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2024-5550 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-5550 exists.

Sources

Also known as GHSA-x234-r5fg-x52m, PYSEC-2026-1446.

Is CVE-2024-5550 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free