# CVE-2021-33195: Improper sanitization when resolving values from DNS in net

- Severity: High 7.3 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.20%, higher than 88% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-08-02T18:51:34.000Z
- Modified: 2026-09-08T08:47:48.215Z
- Also known as: GO-2021-0239, BIT-GOLANG-2021-33195
- Weaknesses: CWE-74
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- stdlib (Go): before 1.15.13; from 1.16.0-0 before 1.16.5
- golang go: before 1.15.13; from 1.16.0 before 1.16.5
- netapp cloud_insights_telegraf_agent: no versions given
- golang (Bitnami): before 1.15.13; from 1.16.0 before 1.16.5

## Every score

- NVD: CVSS:3.1 7.3 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`
- Bitnami Vulnerability Database: rating High

## References

- <https://groups.google.com/g/golang-announce/c/RgCMkAEQjSI> (exploit, advisory, patch, third-party-advisory, web)
- <https://groups.google.com/g/golang-announce> (advisory, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20210902-0005/> (advisory, third-party-advisory)
- <https://security.gentoo.org/glsa/202208-02> (advisory, third-party-advisory, vendor-advisory)
- <https://go.dev/cl/320949> (fix)
- <https://go.googlesource.com/go/+/c89f1224a544cde464fcb86e78ebb0cc97eedba2> (fix)
- <https://go.dev/issue/46241> (report)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-33195> (web)

## Sources

- CVE List: [CVE-2021-33195](https://www.cve.org/CVERecord?id=CVE-2021-33195), CVE Terms of Use, modified 2024-08-03
- Go Vulnerability Database: [GO-2021-0239](https://pkg.go.dev/vuln/GO-2021-0239), CC-BY-4.0, modified 2024-05-20
- NVD: [CVE-2021-33195](https://nvd.nist.gov/vuln/detail/CVE-2021-33195), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-GOLANG-2021-33195](https://osv.dev/vulnerability/BIT-GOLANG-2021-33195), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2021-33195 · Whole record: https://cve.day/CVE-2021-33195.json · Rebuilt by cve.day 2026-11-25T22:58:02.933Z
