-
Notifications
You must be signed in to change notification settings - Fork 596
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
Fix mdns with CVE-2019-19794 #630
Fix mdns with CVE-2019-19794 #630
Conversation
Thank you for the PR! I rebased the PR to fix the conflict, but now |
The test failures looks to be related to this change: hashicorp/mdns#73 The underlying error is hidden in the test output, because the tests are using
What I'm not sure about is why Maybe it's only the IPv6 multicast that failed to bind, and |
I forgot to include the links to the relevant lines of code. It seems like this but later on, this operation: https://github.com/hashicorp/mdns/blob/v1.0.4/client.go#L316-L321 fails with
I'm not sure why it only fails when |
Current version of hashicorp/mdns using vulnerable package miekg/dns v1.0.14. > The miekg Go DNS package before 1.1.25, as used in CoreDNS > before 1.6.6 and other products, improperly generates > random numbers because math/rand is used. The TXID becomes > predictable, leading to response forgeries. See https://nvd.nist.gov/vuln/detail/CVE-2019-19794
The test requires IPv6 unicast which does not work in CircleCI See #630
Thank you for the PR! The test passes locally, so it is indeed just a problem with the CI environment. We decided to keep skipping the test in CI. I pushed that change to this PR, so we're all set to merge. |
Current version of hashicorp/mdns using vulnerable
package miekg/dns v1.0.14.
See https://nvd.nist.gov/vuln/detail/CVE-2019-19794
Closes #629