Skip to content

CVE-2023-23625 Denial of service in HAMT Decoding in go-unixfs

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

Description

go-unixfs is an implementation of a unix-like filesystem on top of an ipld merkledag. 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 to version 0.4.3 to resolve this issue. Users unable to upgrade should not feed untrusted user data to the decoding functions.

Upgrade path

3 packages: 2 fixed.

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

Affected products

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

References