GHSA-gv9j-4w24-q7vx

Suggest an improvement
Source
https://github.com/advisories/GHSA-gv9j-4w24-q7vx
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/03/GHSA-gv9j-4w24-q7vx/GHSA-gv9j-4w24-q7vx.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-gv9j-4w24-q7vx
Aliases
Related
Published
2022-03-01T21:03:11Z
Modified
2024-08-21T14:57:06.886107Z
Summary
Improper random number generation in github.com/coredns/coredns
Details

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

For more information

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

Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [
        "CWE-330"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2022-03-01T21:03:11Z"
}
References

Affected packages

Go / github.com/coredns/coredns

Package

Name
github.com/coredns/coredns
View open source insights on deps.dev
Purl
pkg:golang/github.com/coredns/coredns

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.6.6