Skip to main content
← All vulnerabilities
CVE-2023-23631GO-2023-1559GHSA-4GJ3-6R43-3WFC

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.5.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • ipfs go-unixfsnode

    fixed in 1.5.2

  • github.com/ipfs/go-unixfsnodeGo

    fixed in 1.5.2

References 4

GitHub · ipfs/go-unixfsnode