First published: Thu Feb 09 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.
Credit: security-advisories@github.com
Affected Software | Affected Version | How to fix |
---|---|---|
Protocol Go-unixfsnode | <1.5.2 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2023-23631 has a moderate severity level due to potential panics and virtual memory leaks when handling malformed HAMT sharded directories.
To fix CVE-2023-23631, update the go-unixfsnode library to version 1.5.2 or higher.
CVE-2023-23631 affects go-unixfsnode versions prior to 1.5.2.
An attacker can exploit CVE-2023-23631 by providing untrusted user input that triggers panics and leads to virtual memory leaks.
Yes, CVE-2023-23631 specifically concerns the handling of untrusted user input while reading malformed HAMT directories.