CVE-2023-23625 Denial of service in HAMT Decoding in go-unixfs
HighCVSS 7.5
EPSS 0.69%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
Description
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ipfs github.com/ipfs/go-unixfs(Go) | < 0.4.3 | 0.4.3 | Fixed |
| protocol go-unixfs | < 0.4.3 | 0.4.3 | Fixed |
| ipfs github.com/ipfs/go-unixfs | = < 0.4.3 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| ipfs github.com/ipfs/go-unixfs(Go) | < 0.4.3 | 0.4.3 |
| ipfs github.com/ipfs/go-unixfs | = < 0.4.3 | No fix listed |
| protocol go-unixfs | < 0.4.3 | 0.4.3 |
References
- https://github.com/ipfs/go-unixfs/security/advisories/GHSA-q264-w97q-q778 vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/ipfs/go-unixfs/commit/467d139a640ecee4f2e74643dafcc58bb3b54175 patch
- github.com vendor-advisory
- github.com product
- pkg.go.dev