CVE-2023-31147
CVE-2023-31147 · Insufficient randomness in generation of DNS query IDs in c-ares
Diese Seite enthält Fakten aus öffentlichen Sicherheitsquellen. Lesen Sie vor dem Aktualisieren die Originalmeldung.
c-ares is an asynchronous resolver library. When /dev/urandom or RtlGenRandom() are unavailable, c-ares uses rand() to generate random numbers used for DNS query ids. This is not a CSPRNG, and it is also not seeded by srand() so will generate predictable output. Input from the random number generator is fed into a non-compilant RC4 implementation and may not be as strong as the original RC4 implementation. No attempt is made to look for modern OS-provided CSPRNGs like arc4random() that is widely available. This issue has been fixed in version 1.19.1.
CVSS 5.9 · Mittel · EPSS 0,9% · Korrektur verfügbar
- Veröffentlicht
- Aktualisiert
Technologie-Stack: system
Betroffene Produkte und Versionen
c-ares
- Softwareversionen
- < 1.19.1: Betroffen
Keine Korrektur veröffentlicht
c-ares Debian:12
- Softwareversionen
- 1.18.1-3
- 1.19.0-1
- 1.19.1-1
- 1.19.1-2
- 1.19.1-3
- 1.20.0-1
- 1.20.0-2
- 1.20.0-3
- 1.20.1-1
- 1.21.0-1
- 1.22.0-1
- 1.22.1-1
- 1.23.0-1
- 1.24.0-1
- 1.25.0-1
- 1.26.0-1
- 1.26.0-1.1~exp1
- 1.27.0-1
- 1.27.0-1.1
- 1.27.0-1.1~exp1
- 1.27.0-1.2
- 1.28.1-1
- 1.29.0-1
- 1.30.0-1
- 1.31.0-1
- 1.32.2-1
- 1.32.2-2
- 1.32.3-1
- 1.33.0-1
- 1.33.1-1
- 1.33.1-2
- 1.34.2-1
- 1.34.3-1
- 1.34.4-1
- 1.34.4-2
- 1.34.4-2.1
- 1.34.5-1
- 1.34.6-1
- 1.34.7-1
- 1.34.8-1
- Betroffene Versionsbereiche
- ECOSYSTEM: (−∞, +∞)
Keine Korrektur veröffentlicht
c-ares Debian:13
- Betroffene Versionsbereiche
- ECOSYSTEM: < 1.19.1-2
Auf 1.19.1-2 aktualisieren
c-ares Debian:14
- Betroffene Versionsbereiche
- ECOSYSTEM: < 1.19.1-2
Auf 1.19.1-2 aktualisieren
Originalquellen
- https://github.com/c-ares/c-ares/security/advisories/GHSA-8r8p-23f3-64c2
- https://github.com/c-ares/c-ares/releases/tag/cares-1_19_1
- https://lists.fedoraproject.org/archives/list/[email protected]/message/B5Z5XFNXTNPTCBBVXFDNZQVLLIE6VRBY/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/UBFWILTA33LOSV23P44FGTQQIDRJHIY7/
- https://security.gentoo.org/glsa/202310-09
- https://nvd.nist.gov/vuln/detail/CVE-2023-31147