CVE-2023-23631
HIGH 7.5CVSS 3.1IPFS go-unixfsnode subject to DOS via HAMT Decoding Panics
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.
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. There are no known workarounds for this vulnerability.
- 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-4gj3-6r43-3wfcGO-2023-1559
- Sources
- NVDJSONOSV GHSA-4gj3-6r43-3wfcJSONOSV GO-2023-1559JSON
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 |
| OSV | GitHub | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | protocol | go-unixfsnodecpe:2.3:a:protocol:go-unixfsnode:*:*:*:*:*:go:*:* |
< 1.5.2 | 1.5.2 |
| OSV | Go | github.com/ipfs/go-unixfsnode | < 1.5.2 | 1.5.2 |
References
- https://github.com/ipfs/go-unixfsnode/commit/59050ea8bc458ae55246ae09243e6e165923e076 · Patch, WEB, FIX
- https://github.com/ipfs/go-unixfsnode/commit/91b3d39d33ef0cd2aff2c95d50b2329350944b68 · Patch, WEB
- https://github.com/ipfs/go-unixfsnode/commit/a4ed723727e0bdc2277158337c2fc0d82802d122 · Patch, WEB
- https://github.com/ipfs/go-unixfsnode/security/advisories/GHSA-4gj3-6r43-3wfc · Patch, Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2023-23631 · ADVISORY
- https://github.com/ipfs/go-unixfsnode · PACKAGE
- https://pkg.go.dev/vuln/GO-2023-1559 · 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)