Live threats

All CVEs / Golang

CVE-2021-33197Golang Go

Medium 5.3 No auth needed

Priority
47
CVSS 3.1
5.3
EPSS
2.3%
probability of exploitation in 30 days · percentile 84
Auth required
No
Published
Aug 2, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-862
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Go.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go stdlib < 1.15.13 1.15.13 go get stdlib@v1.15.13
Go stdlib ≥ 1.16.0-0 < 1.16.5 1.16.5 go get stdlib@v1.16.5

Per OSV / GitHub Advisories (GO-2021-0241). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
golanggo< 1.15.13
golanggo≥ 1.16.0 < 1.16.5

Official sources

References

Links published by the sources. Open them with care.