Advisory

GO-2022-0963

Also known as: CVE-2022-36078, GHSA-4p6f-m4f9-ch88

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.

Severity

Not rated by the source.

Dates

Published
2022-09-02 18:37 UTC
Modified
2024-05-20 16:03 UTC

Affected packages and fixes

github.com/gagliardetto/binary

Go · All systems

Affected

  • introduced 0, fixed 0.7.1 (semver)

Fixed versions

0.7.1

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