CVE-2019-19794
Insecure generation of random numbers in github.com/miekg/dns
5.9
MEDIUM
CVSS 3.1
EPSS 0.30%
Description
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.
How to fix CVE-2019-19794
To remediate CVE-2019-19794, upgrade the affected package to a fixed version below.
- —upgrade to 1.1.26-1 or later
- —upgrade to 1.1.25 or later
- —upgrade to 1.1.25-0.20191211073109-8ebf2e419df7 or later
Is CVE-2019-19794 being exploited?
Low — EPSS is 0.3%, meaning exploitation activity has not been observed at scale.
Affected packages (3)
- from 0, < 1.1.26-1
- from 0, < 1.1.25
- from 0, < 1.1.25-0.20191211073109-8ebf2e419df7
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |