CVEfocus › CVE database › CVE-2021-33197

CVE-2021-33197

EPSS 2.3% (higher than 84% of CVEs)Published 2021-08-02Updated 2024-08-03Assigner: mitre

In Go before 1.15.13 and 1.16.x before 1.16.5, some configurations of ReverseProxy (from net/http/httputil) result in a situation where an attacker is able to drop arbitrary headers.

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

45Fixed
3Fix pending
7Will not fix
97Not affected

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 20.04golang-1.16Fix pendingUBUNTU-CVE-2021-33197
Ubuntu 18.04golang-1.16Fix pendingUBUNTU-CVE-2021-33197
Ubuntu 18.04golang-1.8Fix pendingUBUNTU-CVE-2021-33197
Red Hat Enterprise Linux 9buildahFixed1:1.27.0-2.el9RHSA-2022:8008
Red Hat Enterprise Linux 9buildah-testsFixed1:1.27.0-2.el9RHSA-2022:8008
Red Hat Enterprise Linux 9go-toolsetNot affected
Red Hat Enterprise Linux 9golangNot affected
Red Hat Enterprise Linux 9golang-binNot affected
Red Hat Enterprise Linux 9golang-docsNot affected
Red Hat Enterprise Linux 9golang-miscNot affected
Red Hat Enterprise Linux 9golang-raceNot affected
Red Hat Enterprise Linux 9golang-srcNot affected
Red Hat Enterprise Linux 9golang-testsNot affected
Red Hat Enterprise Linux 9podmanFixed2:4.2.0-3.el9RHSA-2022:7954
Red Hat Enterprise Linux 9podman-dockerFixed2:4.2.0-3.el9RHSA-2022:7954
Red Hat Enterprise Linux 9podman-gvproxyFixed2:4.2.0-3.el9RHSA-2022:7954
Red Hat Enterprise Linux 9podman-pluginsFixed2:4.2.0-3.el9RHSA-2022:7954
Red Hat Enterprise Linux 9podman-remoteFixed2:4.2.0-3.el9RHSA-2022:7954
Red Hat Enterprise Linux 9podman-testsFixed2:4.2.0-3.el9RHSA-2022:7954
Red Hat Enterprise Linux 8buildahNot affected
Red Hat Enterprise Linux 8buildah-testsNot affected
Red Hat Enterprise Linux 8delveFixed0:1.6.0-1.module+el8.5.0+10379+d6b83bd0RHSA-2021:4156
Red Hat Enterprise Linux 8gcc-toolset-10-gccNot affected
Red Hat Enterprise Linux 8gcc-toolset-10-gcc-c++Not affected
Red Hat Enterprise Linux 8gcc-toolset-10-gcc-gdb-pluginNot affected
Red Hat Enterprise Linux 8gcc-toolset-10-gcc-gfortranNot affected
Red Hat Enterprise Linux 8gcc-toolset-10-gcc-plugin-develNot affected
Red Hat Enterprise Linux 8gcc-toolset-10-libasan-develNot affected
Red Hat Enterprise Linux 8gcc-toolset-10-libatomic-develNot affected
Red Hat Enterprise Linux 8gcc-toolset-10-libitm-develNot affected
Red Hat Enterprise Linux 8gcc-toolset-10-liblsan-develNot affected
Red Hat Enterprise Linux 8gcc-toolset-10-libquadmath-develNot affected
Red Hat Enterprise Linux 8gcc-toolset-10-libstdc++-develNot affected
Red Hat Enterprise Linux 8gcc-toolset-10-libstdc++-docsNot affected
Red Hat Enterprise Linux 8gcc-toolset-10-libtsan-develNot affected
Red Hat Enterprise Linux 8gcc-toolset-10-libubsan-develNot affected
Red Hat Enterprise Linux 8gcc-toolset-11-gccNot affected
Red Hat Enterprise Linux 8gcc-toolset-11-gcc-c++Not affected
Red Hat Enterprise Linux 8gcc-toolset-11-gcc-gdb-pluginNot affected
Red Hat Enterprise Linux 8gcc-toolset-11-gcc-gfortranNot affected
Red Hat Enterprise Linux 8gcc-toolset-11-gcc-plugin-develNot affected
Red Hat Enterprise Linux 8gcc-toolset-11-libasan-develNot affected
Red Hat Enterprise Linux 8gcc-toolset-11-libatomic-develNot affected
Red Hat Enterprise Linux 8gcc-toolset-11-libgccjitNot affected
Red Hat Enterprise Linux 8gcc-toolset-11-libgccjit-develNot affected
Red Hat Enterprise Linux 8gcc-toolset-11-libgccjit-docsNot affected
Red Hat Enterprise Linux 8gcc-toolset-11-libitm-develNot affected
Red Hat Enterprise Linux 8gcc-toolset-11-liblsan-develNot affected
Red Hat Enterprise Linux 8gcc-toolset-11-libquadmath-develNot affected
Red Hat Enterprise Linux 8gcc-toolset-11-libstdc++-develNot affected
Red Hat Enterprise Linux 8gcc-toolset-11-libstdc++-docsNot affected
Red Hat Enterprise Linux 8gcc-toolset-11-libtsan-develNot affected
Red Hat Enterprise Linux 8gcc-toolset-11-libubsan-develNot affected
Red Hat Enterprise Linux 8gcc-toolset-9-gccNot affected
Red Hat Enterprise Linux 8gcc-toolset-9-gcc-c++Not affected
Red Hat Enterprise Linux 8gcc-toolset-9-gcc-gdb-pluginNot affected
Red Hat Enterprise Linux 8gcc-toolset-9-gcc-gfortranNot affected
Red Hat Enterprise Linux 8gcc-toolset-9-gcc-plugin-develNot affected
Red Hat Enterprise Linux 8gcc-toolset-9-libasan-develNot affected
Red Hat Enterprise Linux 8gcc-toolset-9-libatomic-develNot affected
Red Hat Enterprise Linux 8gcc-toolset-9-libitm-develNot affected
Red Hat Enterprise Linux 8gcc-toolset-9-liblsan-develNot affected
Red Hat Enterprise Linux 8gcc-toolset-9-libquadmath-develNot affected
Red Hat Enterprise Linux 8gcc-toolset-9-libstdc++-develNot affected
Red Hat Enterprise Linux 8gcc-toolset-9-libstdc++-docsNot affected
Red Hat Enterprise Linux 8gcc-toolset-9-libtsan-develNot affected
Red Hat Enterprise Linux 8gcc-toolset-9-libubsan-develNot affected
Red Hat Enterprise Linux 8gitNot affected
Red Hat Enterprise Linux 8git-allNot affected
Red Hat Enterprise Linux 8git-coreNot affected
Red Hat Enterprise Linux 8git-core-docNot affected
Red Hat Enterprise Linux 8git-credential-libsecretNot affected
Red Hat Enterprise Linux 8git-daemonNot affected
Red Hat Enterprise Linux 8git-emailNot affected
Red Hat Enterprise Linux 8git-guiNot affected
Red Hat Enterprise Linux 8git-instawebNot affected
Red Hat Enterprise Linux 8git-subtreeNot affected
Red Hat Enterprise Linux 8git-svnNot affected
Red Hat Enterprise Linux 8gitkNot affected
Red Hat Enterprise Linux 8gitwebNot affected
Red Hat Enterprise Linux 8go-toolsetFixed0:1.16.7-1.module+el8.5.0+12246+1aac4e3fRHSA-2021:4156
Red Hat Enterprise Linux 8golangFixed0:1.16.7-1.module+el8.5.0+12246+1aac4e3fRHSA-2021:4156
Red Hat Enterprise Linux 8golang-binFixed0:1.16.7-1.module+el8.5.0+12246+1aac4e3fRHSA-2021:4156
Red Hat Enterprise Linux 8golang-docsFixed0:1.16.7-1.module+el8.5.0+12246+1aac4e3fRHSA-2021:4156
Red Hat Enterprise Linux 8golang-miscFixed0:1.16.7-1.module+el8.5.0+12246+1aac4e3fRHSA-2021:4156
Red Hat Enterprise Linux 8golang-raceFixed0:1.16.7-1.module+el8.5.0+12246+1aac4e3fRHSA-2021:4156
Red Hat Enterprise Linux 8golang-srcFixed0:1.16.7-1.module+el8.5.0+12246+1aac4e3fRHSA-2021:4156
Red Hat Enterprise Linux 8golang-testsFixed0:1.16.7-1.module+el8.5.0+12246+1aac4e3fRHSA-2021:4156
Red Hat Enterprise Linux 8grafanaFixed0:7.5.9-4.el8RHSA-2021:4226
Red Hat Enterprise Linux 8libasan6Not affected
Red Hat Enterprise Linux 8perl-GitNot affected
Red Hat Enterprise Linux 8perl-Git-SVNNot affected
Red Hat Enterprise Linux 8podmanNot affected
Red Hat Enterprise Linux 8podman-catatonitNot affected
Red Hat Enterprise Linux 8podman-dockerNot affected
Red Hat Enterprise Linux 8podman-gvproxyNot affected
Red Hat Enterprise Linux 8podman-manpagesNot affected
Red Hat Enterprise Linux 8podman-pluginsNot affected
Red Hat Enterprise Linux 8podman-remoteNot affected
Red Hat Enterprise Linux 8podman-testsNot affected
Red Hat Enterprise Linux 7buildahWill not fix
Out of support scope
Red Hat Enterprise Linux 7emacs-gitNot affected
Red Hat Enterprise Linux 7emacs-git-elNot affected
Red Hat Enterprise Linux 7gitNot affected
Red Hat Enterprise Linux 7git-allNot affected
Red Hat Enterprise Linux 7git-bzrNot affected
Red Hat Enterprise Linux 7git-cvsNot affected
Red Hat Enterprise Linux 7git-daemonNot affected
Red Hat Enterprise Linux 7git-emailNot affected
Red Hat Enterprise Linux 7git-gnome-keyringNot affected
Red Hat Enterprise Linux 7git-guiNot affected
Red Hat Enterprise Linux 7git-hgNot affected
Red Hat Enterprise Linux 7git-instawebNot affected
Red Hat Enterprise Linux 7git-p4Not affected
Red Hat Enterprise Linux 7git-svnNot affected
Red Hat Enterprise Linux 7gitkNot affected
Red Hat Enterprise Linux 7gitwebNot affected
Red Hat Enterprise Linux 7golangWill not fix
Out of support scope
Red Hat Enterprise Linux 7golang-binWill not fix
Out of support scope
Red Hat Enterprise Linux 7golang-docsWill not fix
Out of support scope
Red Hat Enterprise Linux 7golang-miscWill not fix
Out of support scope
Red Hat Enterprise Linux 7golang-srcWill not fix
Out of support scope
Red Hat Enterprise Linux 7golang-testsWill not fix
Out of support scope
Red Hat Enterprise Linux 7perl-GitNot affected
Red Hat Enterprise Linux 7perl-Git-SVNNot affected
AlmaLinux 9buildahFixed1:1.27.0-2.el9ALSA-2022:8008
AlmaLinux 9buildah-testsFixed1:1.27.0-2.el9ALSA-2022:8008
AlmaLinux 9podmanFixed2:4.2.0-3.el9ALSA-2022:7954
AlmaLinux 9podman-dockerFixed2:4.2.0-3.el9ALSA-2022:7954
AlmaLinux 9podman-gvproxyFixed2:4.2.0-3.el9ALSA-2022:7954
AlmaLinux 9podman-pluginsFixed2:4.2.0-3.el9ALSA-2022:7954
AlmaLinux 9podman-remoteFixed2:4.2.0-3.el9ALSA-2022:7954
AlmaLinux 9podman-testsFixed2:4.2.0-3.el9ALSA-2022:7954
AlmaLinux 8delveFixed1.6.0-1.module_el8.5.0+2604+960c7771ALSA-2021:4156
AlmaLinux 8grafanaFixed7.5.9-4.el8ALSA-2021:4226
Rocky Linux 8delveFixed0:1.6.0-1.module+el8.5.0+694+f77f0bfdRLSA-2021:4156
Rocky Linux 8go-toolsetFixed0:1.16.7-1.module+el8.5.0+694+f77f0bfdRLSA-2021:4156
Rocky Linux 8golangFixed0:1.16.7-1.module+el8.5.0+694+f77f0bfdRLSA-2021:4156
Rocky Linux 8grafanaFixed0:7.5.9-4.el8RLSA-2021:4226
Alpine Linux 3.24goFixed1.16.5-r0ALPINE-CVE-2021-33197
Alpine Linux 3.23goFixed1.16.5-r0ALPINE-CVE-2021-33197
Alpine Linux 3.22goFixed1.16.5-r0ALPINE-CVE-2021-33197
Alpine Linux 3.21goFixed1.16.5-r0ALPINE-CVE-2021-33197
Alpine Linux 3.20goFixed1.16.5-r0ALPINE-CVE-2021-33197
Alpine Linux 3.19goFixed1.16.5-r0ALPINE-CVE-2021-33197
Alpine Linux 3.18goFixed1.16.5-r0ALPINE-CVE-2021-33197
Alpine Linux 3.17goFixed1.16.5-r0ALPINE-CVE-2021-33197
Alpine Linux 3.16goFixed1.16.5-r0ALPINE-CVE-2021-33197
Alpine Linux 3.15goFixed1.16.5-r0ALPINE-CVE-2021-33197
Alpine Linux 3.14goFixed1.16.5-r0ALPINE-CVE-2021-33197
Alpine Linux 3.13goFixed1.15.13-r0ALPINE-CVE-2021-33197
Go librarystdlibFixed1.16.5GO-2021-0241

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:

References

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.