Red Hat VEX
RHVEX-CVE-2021-41771
golang: debug/macho: invalid dynamic symbol table command can cause panic
Details
An out of bounds read vulnerability was found in debug/macho of the Go standard library. When using the debug/macho standard library (stdlib) and malformed binaries are parsed using Open or OpenFat, it can cause golang to attempt to read outside of a slice (array) causing a panic when calling ImportedSymbols. An attacker can use this vulnerability to craft a file which causes an application using this library to crash resulting in a denial of service.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:7 | golang | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | golang-bin | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | golang-docs | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | golang-misc | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | golang-src | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | golang-tests | All versions, no fix (out of support scope) |