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.
https://security.netapp.com/advisory/ntap-20210902-0005/
https://security.gentoo.org/glsa/202208-02