CVE-2021-41771
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.
What to do
Fixed builds are available from AlmaLinux, Alpine, Go, Red Hat, Rocky Linux: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 22.04 | golang-1.17 | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | golang-1.16 | Fix pending | UBUNTU-CVE-2021-41771 | |
| Ubuntu 18.04 | golang-1.16 | Fix pending | UBUNTU-CVE-2021-41771 | |
| Ubuntu 18.04 | golang-1.8 | Fix pending | UBUNTU-CVE-2021-41771 | |
| Red Hat Enterprise Linux 9 | go-toolset | Not affected | ||
| Red Hat Enterprise Linux 9 | golang | Not affected | ||
| Red Hat Enterprise Linux 9 | golang-bin | Not affected | ||
| Red Hat Enterprise Linux 9 | golang-docs | Not affected | ||
| Red Hat Enterprise Linux 9 | golang-misc | Not affected | ||
| Red Hat Enterprise Linux 9 | golang-race | Not affected | ||
| Red Hat Enterprise Linux 9 | golang-src | Not affected | ||
| Red Hat Enterprise Linux 9 | golang-tests | Not affected | ||
| Red Hat Enterprise Linux 8 | delve | Fixed | 0:1.7.2-1.module+el8.6.0+12972+ebab5911 | RHSA-2022:1819 |
| Red Hat Enterprise Linux 8 | go-toolset | Fixed | 0:1.17.7-1.module+el8.6.0+14297+32a15e19 | RHSA-2022:1819 |
| Red Hat Enterprise Linux 8 | golang | Fixed | 0:1.17.7-1.module+el8.6.0+14297+32a15e19 | RHSA-2022:1819 |
| Red Hat Enterprise Linux 8 | golang-bin | Fixed | 0:1.17.7-1.module+el8.6.0+14297+32a15e19 | RHSA-2022:1819 |
| Red Hat Enterprise Linux 8 | golang-docs | Fixed | 0:1.17.7-1.module+el8.6.0+14297+32a15e19 | RHSA-2022:1819 |
| Red Hat Enterprise Linux 8 | golang-misc | Fixed | 0:1.17.7-1.module+el8.6.0+14297+32a15e19 | RHSA-2022:1819 |
| Red Hat Enterprise Linux 8 | golang-race | Fixed | 0:1.17.7-1.module+el8.6.0+14297+32a15e19 | RHSA-2022:1819 |
| Red Hat Enterprise Linux 8 | golang-src | Fixed | 0:1.17.7-1.module+el8.6.0+14297+32a15e19 | RHSA-2022:1819 |
| Red Hat Enterprise Linux 8 | golang-tests | Fixed | 0:1.17.7-1.module+el8.6.0+14297+32a15e19 | RHSA-2022:1819 |
| Red Hat Enterprise Linux 7 | golang | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | golang-bin | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | golang-docs | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | golang-misc | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | golang-src | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | golang-tests | Will not fix Out of support scope | ||
| AlmaLinux 8 | delve | Fixed | 1.7.2-1.module_el8.6.0+2736+ec10aba8 | ALSA-2022:1819 |
| AlmaLinux 8 | go-toolset | Fixed | 1.17.7-1.module_el8.6.0+2736+ec10aba8 | ALSA-2022:1819 |
| AlmaLinux 8 | golang | Fixed | 1.17.7-1.module_el8.6.0+2736+ec10aba8 | ALSA-2022:1819 |
| AlmaLinux 8 | golang-bin | Fixed | 1.17.7-1.module_el8.6.0+2736+ec10aba8 | ALSA-2022:1819 |
| AlmaLinux 8 | golang-docs | Fixed | 1.17.7-1.module_el8.6.0+2736+ec10aba8 | ALSA-2022:1819 |
| AlmaLinux 8 | golang-misc | Fixed | 1.17.7-1.module_el8.6.0+2736+ec10aba8 | ALSA-2022:1819 |
| AlmaLinux 8 | golang-race | Fixed | 1.17.7-1.module_el8.6.0+2736+ec10aba8 | ALSA-2022:1819 |
| AlmaLinux 8 | golang-src | Fixed | 1.17.7-1.module_el8.6.0+2736+ec10aba8 | ALSA-2022:1819 |
| AlmaLinux 8 | golang-tests | Fixed | 1.17.7-1.module_el8.6.0+2736+ec10aba8 | ALSA-2022:1819 |
| Rocky Linux 8 | delve | Fixed | 0:1.7.2-1.module+el8.6.0+824+8e984c20 | RLSA-2022:1819 |
| Rocky Linux 8 | go-toolset | Fixed | 0:1.17.7-1.module+el8.6.0+824+8e984c20 | RLSA-2022:1819 |
| Rocky Linux 8 | golang | Fixed | 0:1.17.7-1.module+el8.6.0+824+8e984c20 | RLSA-2022:1819 |
| Alpine Linux 3.24 | go | Fixed | 1.17.3-r0 | ALPINE-CVE-2021-41771 |
| Alpine Linux 3.23 | go | Fixed | 1.17.3-r0 | ALPINE-CVE-2021-41771 |
| Alpine Linux 3.22 | go | Fixed | 1.17.3-r0 | ALPINE-CVE-2021-41771 |
| Alpine Linux 3.21 | go | Fixed | 1.17.3-r0 | ALPINE-CVE-2021-41771 |
| Alpine Linux 3.20 | go | Fixed | 1.17.3-r0 | ALPINE-CVE-2021-41771 |
| Alpine Linux 3.19 | go | Fixed | 1.17.3-r0 | ALPINE-CVE-2021-41771 |
| Alpine Linux 3.18 | go | Fixed | 1.17.3-r0 | ALPINE-CVE-2021-41771 |
| Alpine Linux 3.17 | go | Fixed | 1.17.3-r0 | ALPINE-CVE-2021-41771 |
| Alpine Linux 3.16 | go | Fixed | 1.17.3-r0 | ALPINE-CVE-2021-41771 |
| Alpine Linux 3.15 | go | Fixed | 1.17.3-r0 | ALPINE-CVE-2021-41771 |
| Alpine Linux 3.14 | go | Fixed | 1.16.10-r0 | ALPINE-CVE-2021-41771 |
| Go library | stdlib | Fixed | 1.17.3 | GO-2021-0263 |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://security.gentoo.org/glsa/202208-02 (vendor-advisory)
References
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4OFS3M3OFB24SWPTIAPARKGPUMQVUY6Z/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ON7BQRRJZBOR5TJHURBAB3WLF4YXFC6Z/
- https://lists.debian.org/debian-lts-announce/2022/01/msg00016.html
- https://lists.debian.org/debian-lts-announce/2022/01/msg00017.html
- https://www.oracle.com/security-alerts/cpujul2022.html
- https://groups.google.com/g/golang-announce/c/0fM21h43arc
- https://security.netapp.com/advisory/ntap-20211210-0003/
- https://security.gentoo.org/glsa/202208-02
- https://cert-portal.siemens.com/productcert/pdf/ssa-744259.pdf
- https://lists.debian.org/debian-lts-announce/2023/04/msg00021.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.