Bug 2020725 (CVE-2021-41771) - CVE-2021-41771 golang: debug/macho: invalid dynamic symbol table command can cause panic
Summary: CVE-2021-41771 golang: debug/macho: invalid dynamic symbol table command can ...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2021-41771
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2020727 2023672 2023673 2013628 2020726 2020728 2021159 2021749 2023670 2024686 2024687 2024701
Blocks: 2020742
TreeView+ depends on / blocked
 
Reported: 2021-11-05 17:49 UTC by Guilherme de Almeida Suckevicz
Modified: 2022-05-17 09:56 UTC (History)
95 users (show)

Fixed In Version: go 1.16.10, go 1.17.3
Doc Type: If docs needed, set a value
Doc Text:
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.
Clone Of:
Environment:
Last Closed: 2022-05-11 18:46:26 UTC


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2022:1734 0 None None None 2022-05-05 13:49:26 UTC
Red Hat Product Errata RHSA-2022:1745 0 None None None 2022-05-09 07:45:41 UTC
Red Hat Product Errata RHSA-2022:1747 0 None None None 2022-05-09 16:48:18 UTC
Red Hat Product Errata RHSA-2022:1819 0 None None None 2022-05-10 13:38:57 UTC

Description Guilherme de Almeida Suckevicz 2021-11-05 17:49:44 UTC
Malformed binaries parsed using Open or OpenFat can cause a panic when calling ImportedSymbols, due to an out-of-bounds slice operation.

Reference:
https://github.com/golang/go/issues/48990

Comment 1 Guilherme de Almeida Suckevicz 2021-11-05 17:50:18 UTC
Created golang tracking bugs for this issue:

Affects: epel-all [bug 2020726]
Affects: fedora-all [bug 2020728]
Affects: openstack-rdo [bug 2020727]

Comment 2 Przemyslaw Roguski 2021-11-08 13:35:17 UTC
Upstream issue:
https://github.com/golang/go/issues/48990

Comment 19 errata-xmlrpc 2022-05-05 13:49:20 UTC
This issue has been addressed in the following products:

  Red Hat Migration Toolkit for Containers 1.7

Via RHSA-2022:1734 https://access.redhat.com/errata/RHSA-2022:1734

Comment 20 errata-xmlrpc 2022-05-09 07:45:35 UTC
This issue has been addressed in the following products:

  Openshift Serverless 1 on RHEL 8

Via RHSA-2022:1745 https://access.redhat.com/errata/RHSA-2022:1745

Comment 21 errata-xmlrpc 2022-05-09 16:48:12 UTC
This issue has been addressed in the following products:

  Openshift Serveless 1.22

Via RHSA-2022:1747 https://access.redhat.com/errata/RHSA-2022:1747

Comment 22 errata-xmlrpc 2022-05-10 13:38:52 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2022:1819 https://access.redhat.com/errata/RHSA-2022:1819

Comment 23 Product Security DevOps Team 2022-05-11 18:46:21 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2021-41771


Note You need to log in before you can comment on or make changes to this bug.