CVE-2021-33195
HIGH7.3EPSS 0.03%Improper sanitization when resolving values from DNS in net
Published: 2/17/2022Modified: 4/28/2026
Description
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.
Affected packages (3)
- Bitnami/golangfrom 0, < 1.15.13, >= 1.16.0, < 1.16.5
- Debian/golang-1.15from 0, < 1.15.9-5
- Go/stdlibfrom 0, < 1.15.13, >= 1.16.0-0, < 1.16.5
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
References (9)
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2021-33195
- PATCHhttps://go.dev/cl/320949
- PATCHhttps://go.googlesource.com/go/+/c89f1224a544cde464fcb86e78ebb0cc97eedba2
- REPORThttps://go.dev/issue/46241
- WEBhttps://groups.google.com/g/golang-announce
- WEBhttps://groups.google.com/g/golang-announce/c/RgCMkAEQjSI
- WEBhttps://nvd.nist.gov/vuln/detail/CVE-2021-33195
- WEBhttps://security.gentoo.org/glsa/202208-02
- WEBhttps://security.netapp.com/advisory/ntap-20210902-0005/