CVE-2023-23631: HAMT Decoding Panics in github.com/ipfs/go-unixfsnode
Vulnerability summary
CVE-2023-23631 is a high (CVSS 7.5) Uncontrolled Resource Consumption vulnerability in ipfs go-unixfsnode. EPSS estimates a 0.93% chance of exploitation in the next 30 days, higher than 61.9% of scored vulnerabilities.
Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 09-02-2023PublishedVulnerability first disclosed.
- 10-03-2025Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
3 scores · 3 sources · 1 version- CVE.orgCNA5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:HDiffers
- OSV · GoEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.93%
Chance of exploitation in the next 30 days
Percentile
62%
Versus all other CVEs
30-day change
Increase +0.03 pp
From 0.91% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Github.com/ipfs1 product
- go-unixfsnode< 1.5.2
Ipfs1 product
- go-unixfsnode< 1.5.2
Protocol1 product
- go-unixfsnode< 1.5.2
3 vendors · 3 products
References
7 links- github.com/ipfs/go-unixfsnode/security/advisories/GHSA-4gj3-6r43-3wfcX Refsource CONFIRMWEBAdvisoryPatchVendor Advisory
- github.com/ipfs/go-unixfsnode/commit/59050ea8bc458ae55246ae09243e6e165923e076X Refsource MISCWEBFIXPatch
- github.com/ipfs/go-unixfsnode/commit/91b3d39d33ef0cd2aff2c95d50b2329350944b68X Refsource MISCWEBPatch
- github.com/ipfs/go-unixfsnode/commit/a4ed723727e0bdc2277158337c2fc0d82802d122X Refsource MISCWEBPatch