CVE-2023-23631: HAMT Decoding Panics in github.com/ipfs/go-unixfsnode

Published Feb 9, 2023
·
Updated

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.

Affected Software

1 affected component
protocol Go-unixfsnode Go<1.5.2

Event History

Feb 9, 2023
CVE Published
via MITRE·08:46 PM
Data Sourced
via MITRE·08:46 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2023-23631?

CVE-2023-23631 has a moderate severity level due to potential panics and virtual memory leaks when handling malformed HAMT sharded directories.

2

How do I fix CVE-2023-23631?

To fix CVE-2023-23631, update the go-unixfsnode library to version 1.5.2 or higher.

3

What versions of go-unixfsnode are affected by CVE-2023-23631?

CVE-2023-23631 affects go-unixfsnode versions prior to 1.5.2.

4

What types of attacks are possible due to CVE-2023-23631?

An attacker can exploit CVE-2023-23631 by providing untrusted user input that triggers panics and leads to virtual memory leaks.

5

Is CVE-2023-23631 related to user input handling?

Yes, CVE-2023-23631 specifically concerns the handling of untrusted user input while reading malformed HAMT directories.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203