ADVISORIES

Go Vulnerability Database

GO-2021-0263

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.

Affected packages

EcosystemPackageAffected versions
Gostdlib
All versions before 1.16.10 (fixed in 1.16.10)
From 1.17.0-0 before 1.17.3 (fixed in 1.17.3)

References