PT-2023-19085 · Go-Unixfs · Go-Unixfs

Jorropo

·

Published

2023-02-09

·

Updated

2023-02-17

·

CVE-2023-23625

CVSS v3.1

5.9

Medium

VectorAV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions go-unixfs versions prior to 0.4.3
Description The issue is caused by trying to read malformed HAMT sharded directories, which can lead to panics and virtual memory leaks. If untrusted user input is being read, an attacker can trigger a panic due to a bogus fanout parameter in the HAMT directory nodes.
Recommendations For versions prior to 0.4.3, upgrade to version 0.4.3 to resolve the issue. For users unable to upgrade, do not feed untrusted user data to the decoding functions as a temporary workaround.

Exploit

Fix

Resource Exhaustion

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2023-23625
GHSA-Q264-W97Q-Q778
GO-2023-1557

Affected Products

Go-Unixfs