{"id":"GHSA-4gj3-6r43-3wfc","revision":"17efb869952341d9bd214fc1373d0eb5","records":[{"revision":"17efb869952341d9bd214fc1373d0eb5","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-4gj3-6r43-3wfc","aliases":["CVE-2023-23631","GO-2023-1559"],"title":"IPFS go-unixfsnode subject to DOS via HAMT Decoding Panics","description":"## Impact\n\nTrying 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.\n\nThis is caused by a bogus fanout parameter in the HAMT directory nodes.\nThis includes checks returned in [ipfs/go-bitfield GHSA-2h6c-j3gf-xp9r](https://github.com/ipfs/go-bitfield/security/advisories/GHSA-2h6c-j3gf-xp9r), as well as limiting the fanout to <= 1024 (to avoid attempts of arbitrary sized allocations).\n\n## Patches\n- https://github.com/ipfs/go-unixfsnode/commit/91b3d39d33ef0cd2aff2c95d50b2329350944b68\n- https://github.com/ipfs/go-unixfsnode/commit/a4ed723727e0bdc2277158337c2fc0d82802d122\n\n## References\n\n* https://github.com/ipfs/go-unixfs/security/advisories/GHSA-q264-w97q-q778\n* https://github.com/ipfs/go-bitfield/security/advisories/GHSA-2h6c-j3gf-xp9r\n","state":0,"publishedAt":"2023-02-10T19:54:14+00:00","modifiedAt":"2026-09-10T03:49:56.6056107+00:00","affected":[{"ecosystem":"Go","name":"github.com/ipfs/go-unixfsnode","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.5.2"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/ipfs/go-unixfsnode/security/advisories/GHSA-4gj3-6r43-3wfc","https://nvd.nist.gov/vuln/detail/CVE-2023-23631","https://github.com/ipfs/go-unixfsnode/commit/59050ea8bc458ae55246ae09243e6e165923e076","https://github.com/ipfs/go-unixfsnode/commit/91b3d39d33ef0cd2aff2c95d50b2329350944b68","https://github.com/ipfs/go-unixfsnode/commit/a4ed723727e0bdc2277158337c2fc0d82802d122","https://github.com/ipfs/go-unixfsnode","https://pkg.go.dev/vuln/GO-2023-1559"],"sourceUrl":"https://github.com/advisories/GHSA-4gj3-6r43-3wfc","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-4gj3-6r43-3wfc","identifiers":["GHSA-4gj3-6r43-3wfc","CVE-2023-23631","GO-2023-1559"]},"retained":false,"historicalAffected":[]}],"coverage":[]}