Advisory

GO-2023-1559

Also known as: CVE-2023-23631, GHSA-4gj3-6r43-3wfc

Summary

Denial of service via HAMT decoding panic in github.com/ipfs/go-unixfsnode

Details

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 a bogus fanout parameter in the HAMT directory nodes.

There are no known workarounds (users are advised to upgrade).

Severity

Not rated by the source.

Dates

Published
2023-02-14 19:41 UTC
Modified
2024-05-20 16:03 UTC

Affected packages and fixes

github.com/ipfs/go-unixfsnode

Go · All systems

Affected

  • introduced 0, fixed 1.5.2 (semver)

Fixed versions

1.5.2

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences