{"id":"CVE-2021-33195","published":"2021-08-02T18:51:34Z","modified":"2024-08-03T23:42:20Z","title":"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…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.03204,"percentile":0.88456,"provenance":"source"},"cwes":[],"references":[{"url":"https://groups.google.com/g/golang-announce","tags":["x_refsource_MISC"]},{"url":"https://groups.google.com/g/golang-announce/c/RgCMkAEQjSI","tags":["x_refsource_MISC"]},{"url":"https://security.netapp.com/advisory/ntap-20210902-0005/","tags":["x_refsource_CONFIRM"]},{"url":"https://security.gentoo.org/glsa/202208-02","tags":["vendor-advisory","x_refsource_GENTOO"]}],"priority":{"score":17.7,"factors":[{"name":"EPSS percentile","points":17.69}]},"affected":[{"ecosystem":"Go","package":"stdlib","vulnerableRanges":["<1.15.13",">=1.16.0-0, <1.16.5"],"patched":["1.15.13","1.16.5"],"from":["GO-2021-0239"],"provenance":"source"}],"summary":{"text":"The flaw lies in the Go standard library's DNS lookup functions, which fail to validate replies from DNS servers in Go versions before 1.15.13 and in the 1.16.x line before 1.16.5. As a result, a returned value may carry unsafe content, such as an XSS injection, that does not conform to the RFC 1035 format. An attacker who can influence the DNS responses a Go application receives could use this to inject such content into the lookup results the application consumes.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:27:58Z"},"euvd":{"id":"EUVD-2021-19908","exploited":false,"provenance":"source"}}