GO-2022-0963
Dashboard / Vulnerabilities / GO-2022-0963
GO-2022-0963
Summary: Resource exhaustion in github.com/gagliardetto/binary
Details: A memory allocation vulnerability can be exploited to allocate arbitrarily large slices, which can exhaust available memory or crash the program. When parsing data from untrusted sources of input (e.g. the blockchain), the length of the slice to allocate is read directly from the data itself without any checks, which could lead to an allocation of excessive memory.
References: https://github.com/gagliardetto/binary/security/advisories/GHSA-4p6f-m4f9-ch88, https://github.com/gagliardetto/binary/pull/7, https://github.com/gagliardetto/binary/releases/tag/v0.7.1
Affected packages
Package
Name: github.com/gagliardetto/binary
Purl: pkg:golang/github.com/gagliardetto/binary
Affected ranges
Type: SEMVER
Events:
