{"id":"CVE-2023-23631","published":"2023-02-09T20:46:22Z","modified":"2025-03-10T21:14:10Z","title":"HAMT Decoding Panics in github.com/ipfs/go-unixfsnode","vendor":"ipfs","product":"go-unixfsnode","tier":"tail","description":{"text":"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.\nIf 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.","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.00933,"percentile":0.61593,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://github.com/ipfs/go-unixfsnode/security/advisories/GHSA-4gj3-6r43-3wfc","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/ipfs/go-unixfsnode/commit/59050ea8bc458ae55246ae09243e6e165923e076","tags":["x_refsource_MISC"]},{"url":"https://github.com/ipfs/go-unixfsnode/commit/91b3d39d33ef0cd2aff2c95d50b2329350944b68","tags":["x_refsource_MISC"]},{"url":"https://github.com/ipfs/go-unixfsnode/commit/a4ed723727e0bdc2277158337c2fc0d82802d122","tags":["x_refsource_MISC"]}],"priority":{"score":16.4,"factors":[{"name":"EPSS percentile","points":12.32},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"ipfs","affectedVersions":[{"vendor":"ipfs","product":"go-unixfsnode","versions":["< 1.5.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-03-10T20:58:01.028428Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/ipfs/go-unixfsnode","vulnerableRanges":["<1.5.2"],"patched":["1.5.2"],"from":["GHSA-4gj3-6r43-3wfc","GO-2023-1559"],"provenance":"source"}],"summary":{"text":"The go-unixfsnode library (ipfs/go-unixfsnode, an IPLD prime node ADL that wraps go-codec-dagpb for pathing) fails to properly handle malformed HAMT sharded directory nodes, specifically a bogus fanout parameter in those nodes. An attacker who can supply malformed HAMT sharded directories to a vulnerable version (prior to 1.5.2) that reads untrusted input can trigger a panic and virtual memory leaks, with no authentication or user interaction required, though exploitation is conditioned on the attack complexity being high.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:27:03Z"},"euvd":{"id":"EUVD-2023-0622","exploited":false,"provenance":"source"}}