{"id":"CVE-2023-23625","published":"2023-02-09T20:57:22Z","modified":"2025-03-10T21:13:58Z","title":"Denial of service in HAMT Decoding in go-unixfs","vendor":"ipfs","product":"go-unixfs","tier":"tail","description":{"text":"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.\n","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00693,"percentile":0.53838,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://github.com/ipfs/go-unixfs/security/advisories/GHSA-q264-w97q-q778","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/ipfs/go-unixfs/commit/467d139a640ecee4f2e74643dafcc58bb3b54175","tags":["x_refsource_MISC"]}],"priority":{"score":14.9,"factors":[{"name":"EPSS percentile","points":10.77},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"ipfs","affectedVersions":[{"vendor":"ipfs","product":"go-unixfs","versions":["< 0.4.3"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-03-10T20:57:57.598014Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/ipfs/go-unixfs","vulnerableRanges":["<0.4.3"],"patched":["0.4.3"],"from":["GHSA-q264-w97q-q778","GO-2023-1557"],"provenance":"source"}],"summary":{"text":"A denial-of-service flaw in the HAMT directory decoding of the go-unixfs component of the go-unixfs product (an IPFS unix-like filesystem implementation built on an IPLD merkledag) allows malformed HAMT sharded directories, caused by a bogus fanout parameter in directory nodes, to trigger panics and virtual memory leaks. An attacker with network access and no privileges or user interaction can exploit this by supplying malformed directory data when the application decodes untrusted input, though the attack complexity is high.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:35:42Z"},"euvd":{"id":"EUVD-2023-0769","exploited":false,"provenance":"source"}}