Skip to main content
← All vulnerabilities
CVE-2023-23625GO-2023-1557GHSA-Q264-W97Q-Q778

Denial of service in HAMT Decoding in go-unixfs

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

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

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

  3. Record last updated

Affected versions

  • ipfs go-unixfs

    fixed in 0.4.3

  • github.com/ipfs/go-unixfsGo

    fixed in 0.4.3

References 2

GitHub · ipfs/go-unixfs