{"id":"GO-2023-1557","revision":"ba10d1168ac24569975829c046a7a774","records":[{"revision":"ba10d1168ac24569975829c046a7a774","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2023-1557","aliases":["CVE-2023-23625","GHSA-q264-w97q-q778"],"title":"Denial of service via HAMT decoding panic in github.com/ipfs/go-unixfs","description":"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.\n\nThis is caused by bogus \"fanout\" parameter in the HAMT directory nodes. A workaround is to not feed untrusted user data to the decoding functions.","state":0,"publishedAt":"2023-02-14T19:34:46+00:00","modifiedAt":"2024-05-20T16:03:47+00:00","affected":[{"ecosystem":"Go","name":"github.com/ipfs/go-unixfs","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.4.3"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/advisories/GHSA-q264-w97q-q778","https://github.com/ipfs/go-unixfs/commit/467d139a640ecee4f2e74643dafcc58bb3b54175"],"sourceUrl":"https://osv.dev/vulnerability/GO-2023-1557","license":"OSV · upstream source license applies","key":"osv:GO-2023-1557","identifiers":["GO-2023-1557","CVE-2023-23625","GHSA-q264-w97q-q778"]},"retained":false,"historicalAffected":[]}],"coverage":[]}