PT-2022-17563 · Unknown · Go-Codec-Dagpb
Published
2022-04-08
·
Updated
2023-01-06
·
CVE-2022-2584
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
go-codec-dagpb versions prior to 1.3.1
Description
The dag-pb codec can panic when decoding invalid blocks, due to an assumption that the reported link length is accurate. If the block ends before the reported length, it results in a buffer overread.
Recommendations
For versions prior to 1.3.1, update to version 1.3.1 or above to resolve the issue.
As a temporary workaround, consider recovering panics higher in the call stack of the goroutine that calls the defective code.
Fix
Buffer Overflow
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Go-Codec-Dagpb