CVE-2023-23625
HIGH 7.5CVSS 3.1Denial of service via HAMT Decoding Panics
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.
- Published
- 9 Feb 2023
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-400
- Also known as
- GHSA-q264-w97q-q778GO-2023-1557
- Sources
- NVDJSONOSV GHSA-q264-w97q-q778JSONOSV GO-2023-1557JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | protocol | go-unixfscpe:2.3:a:protocol:go-unixfs:*:*:*:*:*:go:*:* |
< 0.4.3 | 0.4.3 |
| OSV | Go | github.com/ipfs/go-unixfs | < 0.4.3 | 0.4.3 |
References
- https://github.com/ipfs/go-unixfs/commit/467d139a640ecee4f2e74643dafcc58bb3b54175 · Patch, WEB, FIX
- https://github.com/ipfs/go-unixfs/security/advisories/GHSA-q264-w97q-q778 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-23625 · ADVISORY
- https://github.com/advisories/GHSA-q264-w97q-q778 · ADVISORY
- https://github.com/ipfs/go-unixfs · PACKAGE
- https://pkg.go.dev/vuln/GO-2023-1557 · WEB
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 9 Feb 2023)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 14 Feb 2023)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 10 Feb 2023)