Advisory

GO-2021-0263

Also known as: BIT-golang-2021-41771, CVE-2021-41771

Summary

Panic on invalid symbol tables in debug/macho

Details

Calling File.ImportedSymbols on a loaded file which contains an invalid dynamic symbol table command can cause a panic, in particular if the encoded number of undefined symbols is larger than the number of symbols in the symbol table.

Severity

Not rated by the source.

Dates

Published
2022-01-13 03:45 UTC
Modified
2024-05-20 16:03 UTC

Affected packages and fixes

stdlib

Go · All systems

Affected

  • introduced 0, fixed 1.16.10, introduced 1.17.0-0, fixed 1.17.3 (semver)

Fixed versions

1.16.10, 1.17.3

Fix

The export has no generic command for this ecosystem.

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