{"schemaVersion":3,"id":"CVE-2023-23631","aliases":["GHSA-4gj3-6r43-3wfc","GO-2023-1559"],"status":"published","duplicateOf":null,"title":null,"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.\nIf 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.","dates":{"published":"2023-02-09T20:46:22.930Z","modified":"2025-03-10T21:14:10.912Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00908,"percentile":0.59308,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00908},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00908,"percentile":0.59308}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00908,"percentile":0.59308}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption","description":"The product does not properly control the allocation and maintenance of a limited resource.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/400.html"}],"affected":[{"vendor":"github.com/ipfs","product":"go-unixfsnode","name":"github.com/ipfs/go-unixfsnode","label":"go-unixfsnode","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/ipfs/go-unixfsnode","purlType":"golang","versions":[{"text":"< 1.5.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.5.2","eol":null,"hubHref":null},{"vendor":"ipfs","product":"go-unixfsnode","name":"go-unixfsnode","label":"go-unixfsnode","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.5.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.5.2","eol":null,"hubHref":"/vendor/ipfs/go-unixfsnode"},{"vendor":"protocol","product":"go-unixfsnode","name":"go-unixfsnode","label":"go-unixfsnode","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.5.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.5.2","eol":null,"hubHref":"/vendor/protocol/go-unixfsnode"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/ipfs/go-unixfsnode/security/advisories/GHSA-4gj3-6r43-3wfc","label":"github.com/ipfs/go-unixfsnode/security/advisories/GHSA-4gj3-6r43-3wfc","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Advisory","Patch","Vendor Advisory"]},{"url":"https://github.com/ipfs/go-unixfsnode/commit/59050ea8bc458ae55246ae09243e6e165923e076","label":"github.com/ipfs/go-unixfsnode/commit/59050ea8bc458ae55246ae09243e6e165923e076","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX","Patch"]},{"url":"https://github.com/ipfs/go-unixfsnode/commit/91b3d39d33ef0cd2aff2c95d50b2329350944b68","label":"github.com/ipfs/go-unixfsnode/commit/91b3d39d33ef0cd2aff2c95d50b2329350944b68","hostname":"github.com","tags":["X Refsource MISC","WEB","Patch"]},{"url":"https://github.com/ipfs/go-unixfsnode/commit/a4ed723727e0bdc2277158337c2fc0d82802d122","label":"github.com/ipfs/go-unixfsnode/commit/a4ed723727e0bdc2277158337c2fc0d82802d122","hostname":"github.com","tags":["X Refsource MISC","WEB","Patch"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-23631","label":"nvd.nist.gov/vuln/detail/CVE-2023-23631","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/ipfs/go-unixfsnode","label":"github.com/ipfs/go-unixfsnode","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://pkg.go.dev/vuln/GO-2023-1559","label":"pkg.go.dev/vuln/GO-2023-1559","hostname":"pkg.go.dev","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2023-02-09T20:46:22.930Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-03-10T21:14:10.912Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":30,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T06:34:36.206Z","stale":false,"partial":false}}