CVE-2021-33195
HIGH 7.3CVSS 3.1Improper sanitization when resolving values from DNS in net
Go before 1.15.13 and 1.16.x before 1.16.5 has functions for DNS lookups that do not validate replies from DNS servers, and thus a return value may contain an unsafe injection (e.g., XSS) that does not conform to the RFC1035 format.
- Published
- 2 Aug 2021
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-74
- Also known as
- BIT-golang-2021-33195GO-2021-0239
- Sources
- NVDJSONOSV GO-2021-0239JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | golang | gocpe:2.3:a:golang:go:*:*:*:*:*:*:*:* |
< 1.15.13 | 1.15.13 |
| NVD | golang | gocpe:2.3:a:golang:go:*:*:*:*:*:*:*:* |
>= 1.16.0, < 1.16.5 | 1.16.5 |
| NVD | netapp | cloud_insights_telegraf_agentcpe:2.3:a:netapp:cloud_insights_telegraf_agent:-:*:*:*:*:*:*:* |
(no version) | |
| OSV | Go | stdlib | < 1.15.13; >= 1.16.0-0, < 1.16.5 | 1.15.13, 1.16.5 |
References
- https://groups.google.com/g/golang-announce · Third Party Advisory
- https://groups.google.com/g/golang-announce/c/RgCMkAEQjSI · Exploit, Patch, Third Party Advisory, WEB
- https://security.gentoo.org/glsa/202208-02 · Third Party Advisory
- https://security.netapp.com/advisory/ntap-20210902-0005/ · Third Party Advisory
- https://go.dev/cl/320949 · FIX
- https://go.googlesource.com/go/+/c89f1224a544cde464fcb86e78ebb0cc97eedba2 · FIX
- https://go.dev/issue/46241 · REPORT
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 2 Aug 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 17 Feb 2022)