CVE-2021-33197Golang Go
Medium 5.3 No auth needed
Follow: this CVE · Golang · Golang Go We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Go.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| golang | go | < 1.15.13 |
| golang | go | ≥ 1.16.0 < 1.16.5 |
Official sources
References
Links published by the sources. Open them with care.
- groups.google.com Third Party Advisory
- groups.google.com Exploit Patch Third Party Advisory
- security.gentoo.org Third Party Advisory