Skip to main content

Uncontrolled Resource Consumption

CVE-2023-23631

Severity High
Score 7.5/10

Summary

The packagegithub.com/ipfs/go-unixfsnode is an ADL IPLD prime node that wraps "go-codec-dagpb" implementation of protobuf to enable pathing. In versions prior to 1.5.2, trying to read malformed "HAMT" shared 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 a bogus "fanout" parameter in the "HAMT" directory nodes. Users are advised to upgrade. There are no known workarounds for this vulnerability.

  • LOW
  • NETWORK
  • NONE
  • UNCHANGED
  • NONE
  • NONE
  • NONE
  • HIGH

CWE-400 - Uncontrolled resource consumption

An uncontrolled resource allocation attack (also known as resource exhaustion attack) triggers unauthorized overconsumption of the limited resources in an application, such as memory, file system storage, database connection pool entries, and CPU. This may lead to denial of service for valid users and degradation of the application's functionality as well as that of the host operating system.

Advisory Timeline

  • Published