Resource exhaustion in Ipfs Go-Unixfs
CVE-2023-23625
go-unixfs is an implementation of a unix-like filesystem on top of an ipld merkledag. 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 to version 0.4.3 to resolve this issue. Users unable to upgrade should not feed untrusted user data to the decoding functions.
Vulnerability class: DoS (Denial of Service)
EPSS: 0.007 (48.5th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H.
Affected products
- Ipfs Go-unixfs — versions < 0.4.3
- Protocol Go-unixfs
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Vendor Advisory)
- security-advisories@github.com (Patch, x_refsource_MISC)
Frequently asked questions
- What is CVE-2023-23625?
- CVE-2023-23625 is a medium-severity vulnerability in Ipfs Go-Unixfs, classified under Uncontrolled Resource Consumption. CVSS score: 5.9/10. Published 2023-02-09.
- How severe is CVE-2023-23625?
- Medium severity. CVSS v3 base score is 5.9 out of 10.