-
Notifications
You must be signed in to change notification settings - Fork 17.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
net: Lookup functions may return invalid host names [1.16 backport] #46357
Comments
Change https://golang.org/cl/322230 mentions this issue: |
Since this appears to be a security issue with no apparent workaround, approved. |
Change https://golang.org/cl/323270 mentions this issue: |
…main names For the methods LookupCNAME, LookupSRV, LookupMX, LookupNS, and LookupAddr check that the returned domain names are in fact valid DNS names using the existing isDomainName function. Thanks to Philipp Jeitner and Haya Shulman from Fraunhofer SIT for reporting this issue. Updates #46241 Fixes #46357 Fixes CVE-2021-33195 Change-Id: I47a4f58c031cb752f732e88bbdae7f819f0af4f3 Reviewed-on: https://go-review.googlesource.com/c/go/+/323131 Trust: Roland Shoemaker <roland@golang.org> Run-TryBot: Roland Shoemaker <roland@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Filippo Valsorda <filippo@golang.org> Reviewed-by: Katie Hockman <katie@golang.org> (cherry picked from commit cdcd028) Reviewed-on: https://go-review.googlesource.com/c/go/+/323270
Closed by merging df6a737 to release-branch.go1.16. |
Because of this change if a domain has a Null MX record (https://tools.ietf.org/html/rfc7505) configured, then EDIT: Also previously there was a way to filter out invalid records and connect to valid ones. Now one invalid MX record results in |
@rolandshoemaker requested issue #46241 to be considered for backport to the next 1.16 minor release.
The text was updated successfully, but these errors were encountered: