Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/coredns/coredns
  4. ›
  5. GMS-2022-176

GMS-2022-176: Improper random number generation in github.com/coredns/coredns

March 1, 2022 (updated January 11, 2023)

Impact

CoreDNS before 1.6.6 (using go DNS package < 1.1.25) improperly generates random numbers because math/rand is used. The TXID becomes predictable, leading to response forgeries.

Patches

The problem has been fixed in 1.6.6+.

References

  • CVE-2019-19794

For more information

Please consult our security guide for more information regarding our security process.

References

  • github.com/advisories/GHSA-gv9j-4w24-q7vx
  • github.com/coredns/coredns/security/advisories/GHSA-gv9j-4w24-q7vx

Code Behaviors & Features

Detect and mitigate GMS-2022-176 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.6.6

Fixed versions

  • v1.6.6

Solution

Upgrade to version 1.6.6 or above.

Source file

go/github.com/coredns/coredns/GMS-2022-176.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:48 +0000.