blob: 456c427018f08e93c3fefe0ea5f5a8eae450e2c5 [file] [log] [blame]
modules:
- module: std
versions:
- fixed: 1.16.10
- introduced: 1.17.0
fixed: 1.17.3
vulnerable_at: 1.17.2
packages:
- package: debug/macho
symbols:
- NewFile
skip_fix: 'TODO: revisit this reason (fix appears to not work with Go <1.18)'
description: |
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.
published: 2022-01-13T03:45:03Z
cves:
- CVE-2021-41771
credit: Burak Çarıkçı - Yunus Yıldırım (CT-Zer0 Crypttech)
references:
- fix: https://go.dev/cl/367075
- fix: https://go.googlesource.com/go/+/61536ec03063b4951163bd09609c86d82631fa27
- web: https://groups.google.com/g/golang-announce/c/0fM21h43arc
- report: https://go.dev/issue/48990