Skip to content

CVE-2023-23631 HAMT Decoding Panics in github.com/ipfs/go-unixfsnode

HighCVSS 7.5 EPSS 0.93%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

Description

github.com/ipfs/go-unixfsnode is an ADL IPLD prime node that wraps go-codec-dagpb's implementation of protobuf to enable pathing. In versions priot to 1.5.2 trying to read malformed HAMT sharded directories can cause panics and virtual memory leaks.
If you are reading untrusted user input, an attacker can then trigger a panic. This is caused by bogus fanout parameter in the HAMT directory nodes. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
ipfs github.com/ipfs/go-unixfsnode(Go) < 1.5.2 1.5.2 Fixed
protocol go-unixfsnode < 1.5.2 1.5.2 Fixed
ipfs github.com/ipfs/go-unixfsnode = < 1.5.2 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
ipfs github.com/ipfs/go-unixfsnode(Go) < 1.5.2 1.5.2
ipfs github.com/ipfs/go-unixfsnode = < 1.5.2 No fix listed
protocol go-unixfsnode < 1.5.2 1.5.2

References