H5io
h5io before 0.2.6 Arbitrary Code Execution via read_hdf5
h5io before 0.2.6 contains a code injection vulnerability in read_hdf5() that allows attackers to execute arbitrary code by supplying a crafted HDF5 file. Attackers can store Python code in a node titled timezone, which _triage_read() passes to eval() with builtins reachable, name an arbitrary module in class or custom-object nodes that _import_class() imports, or place pickled objects in pd_dataframe or pd_series nodes that pandas deserializes on read.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.5high · scored by CNA · CWE-95
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
h5io h5io
- >= 0.1.0, < 0.2.6
Fixed in 0.2.6
Mitigation
Upgrade h5io to 0.2.6 or later.
References
- Vendor advisory github.com/h5io/h5io/security/advisories/GHSA-…
- Patch github.com/h5io/h5io/commit/afff1d61b31790f8c2…
- Release notes github.com/h5io/h5io/releases/tag/h5io-0.2.6
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.