Skip to content
OpenAdvisories
Unscored CVE-2021-41771 BIT-golang-2021-41771EUVD-2021-28779GHSA-g56w-5r6h-483wGO-2021-0263

Panic on invalid symbol tables in debug/macho

Published Nov 8, 2021 · Updated Aug 4, 2024 · Assigned by mitre

Description

ImportedSymbols in debug/macho (for Open or OpenFat) in Go before 1.16.10 and 1.17.x before 1.17.3 Accesses a Memory Location After the End of a Buffer, aka an out-of-bounds slice situation.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 11 golang-1.15 1.15.15-1~deb11u2 —
Debian 10 golang-1.11 1.11.6-1+deb10u6 DLA-3395-1
Debian 9 golang-1.7 1.7.4-2+deb9u4 DLA-2892-1
Debian 9 golang-1.8 1.8.1-1+deb9u4 DLA-2891-1
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS golang-1.8 No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS golang-1.16 No fix yet —
Ubuntu Pro 18.04 LTS golang-1.16 No fix yet —
ReleasePackageFixed inAdvisory
RHEL 8 delve 1.7.2-1.module+el8.6.0+12972+ebab5911 RHSA-2022:1819
RHEL 8 golang +7 1.17.7-1.module+el8.6.0+14297+32a15e19 RHSA-2022:1819
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Serverless 1 openshift-serverless-clients 1.1.0-2.el8 RHSA-2022:1745

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 8 delve 1.7.2-1.module_el8.6.0+2736+ec10aba8 ALSA-2022:1819
AlmaLinux 8 golang +7 1.17.7-1.module_el8.6.0+2736+ec10aba8 ALSA-2022:1819

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 delve 1.7.2-1.module+el8.6.0+824+8e984c20 RLSA-2022:1819
Rocky Linux 8 golang +1 1.17.7-1.module+el8.6.0+824+8e984c20 RLSA-2022:1819
ReleasePackageFixed inAdvisory
SLES 15 SP3 go1.16 1.16.10-1.32.1 SUSE-SU-2021:3834-1
SLES 15 SP3 go1.17 1.17.3-1.9.1 SUSE-SU-2021:3833-1
SLES 15 SP2 go1.16 1.16.10-1.32.1 SUSE-SU-2021:3834-1
SLES 15 SP2 go1.17 1.17.3-1.9.1 SUSE-SU-2021:3833-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed go1.16 1.16.10-1.1 openSUSE-SU-2024:11609-1
openSUSE Tumbleweed go1.17 1.17.3-1.1 openSUSE-SU-2024:11610-1
openSUSE Leap 15.3 go1.16 1.16.10-1.32.1 openSUSE-SU-2021:3834-1
openSUSE Leap 15.3 go1.17 1.17.3-1.9.1 openSUSE-SU-2021:3833-1
openSUSE Leap 15.2 go1.16 1.16.10-lp152.17.1 openSUSE-SU-2021:1539-1
ReleasePackageFixed inAdvisory
Alpine v3.24 go 1.17.3-r0 —
Alpine v3.23 go 1.17.3-r0 —
Alpine v3.22 go 1.17.3-r0 —
Alpine v3.21 go 1.17.3-r0 —
Alpine v3.20 go 1.17.3-r0 —
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 go 1.17.3-r0 —
Alpine v3.18 go 1.17.3-r0 —
Alpine v3.17 go 1.17.3-r0 —
Alpine v3.16 go 1.17.3-r0 —
Alpine v3.15 go 1.17.3-r0 —
Alpine v3.14 go 1.16.10-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 golang +7 1.19.3-2.amzn2023.0.2 ALAS2023-2023-048
Amazon Linux 2 golang +7 1.16.15-1.amzn2.0.1 ALAS2-2022-1776

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 golang No fix yet —
Azure Linux 2 (CBL-Mariner) golang 1.17.8-1 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 delve 1.7.2-1.0.1.module+el8.6.0+20559+3b94dc2a ELSA-2022-1819
Oracle Linux 8 golang +7 1.17.7-1.module+el8.6.0+20559+3b94dc2a ELSA-2022-1819

Affected packages

EcosystemPackageAffectedFixedRecord
Go stdlib < 1.16.10 · >= 1.17.0-0, < 1.17.3 1.16.10, 1.17.3 GO-2021-0263

Advisories 24

References