GO-2021-0263

Source
https://pkg.go.dev/vuln/GO-2021-0263
Import Source
https://vuln.go.dev/ID/GO-2021-0263.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2021-0263
Aliases
Published
2022-01-13T03:45:03Z
Modified
2024-05-20T16:03:47Z
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.

Database specific
{
    "review_status": "REVIEWED",
    "url": "https://pkg.go.dev/vuln/GO-2021-0263"
}
References
Credits
    • Burak Çarıkçı - Yunus Yıldırım (CT-Zer0 Crypttech)

Affected packages

Go / stdlib

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.16.10
Introduced
1.17.0-0
Fixed
1.17.3

Ecosystem specific

{
    "imports": [
        {
            "path": "debug/macho",
            "symbols": [
                "NewFile"
            ]
        }
    ]
}