CVE-2023-23631 json
HAMT Decoding Panics in github.com/ipfs/go-unixfsnode
published 2023-02-09 3 y ago modified 2026-09-10 1 mo ago also GHSA-4gj3-6r43-3wfc , GO-2023-1559 , EUVD-2023-0622
- cvss
- 5.9
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 60%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/ipfs/go-unixfsnode 1.5.2
- protocol go-unixfsnode 1.5.2
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 19 mo ago
Exploit prediction
0.91% chance of exploitation in the next 30 days, higher than 60% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/ipfs/go-unixfsnode | <1.5.2 |
1.5.2 |
Affected products
- ipfs go-unixfsnode
Classification
- Weakness
-
- CWE-400 Uncontrolled Resource Consumption
References
-
github.com
/ipfs/go-unixfsnode/commit/59050ea8bc458ae55246ae09243e6e165923e076
web, patch
-
github.com
/ipfs/go-unixfsnode/commit/91b3d39d33ef0cd2aff2c95d50b2329350944b68
web, patch
-
github.com
/ipfs/go-unixfsnode/commit/a4ed723727e0bdc2277158337c2fc0d82802d122
web, patch
-
github.com
/ipfs/go-unixfsnode/security/advisories/GHSA-4gj3-6r43-3wfc
web, patch, vendor-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2023-23631
advisory
-
github.com
/ipfs/go-unixfsnode
package
-
pkg.go.dev
/vuln/GO-2023-1559
web
Sources
- CVE List CVE-2023-23631
- GitHub Advisory GHSA-4gj3-6r43-3wfc
- NVD CVE-2023-23631
- OSV GO-2023-1559
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.