CVE-2019-10064
published 2020-02-28CVE-2019-10064: hostapd before 2.6, in EAP mode, makes calls to the rand() and random() standard library functions without any preceding srand() or srandom() call, which…
PriorityP339high7.5CVSS 3.1
AVNACLPRNUINSUCNINAH
EPSS
3.75%
88.5th percentile
hostapd before 2.6, in EAP mode, makes calls to the rand() and random() standard library functions without any preceding srand() or srandom() call, which results in inappropriate use of deterministic values. This was fixed in conjunction with CVE-2016-10743.
Affected
4 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | wpa | < wpa 2:2.6-7 (bookworm) | wpa 2:2.6-7 (bookworm) |
| w1.fi | hostapd | < 2.6 | 2.6 |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:N/I:N/A:P
osv7.5HIGH
vendor_debian7.5HIGH
vendor_redhat7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-h5p7-cpc2-2j2r: hostapd before 2
ghsa_unreviewed·2022-05-24·CVSS 7.5
CVE-2019-10064 [HIGH] CWE-331 GHSA-h5p7-cpc2-2j2r: hostapd before 2
hostapd before 2.6, in EAP mode, makes calls to the rand() and random() standard library functions without any preceding srand() or srandom() call, which results in inappropriate use of deterministic values. This was fixed in conjunction with CVE-2016-10743.
OSV
CVE-2019-10064: hostapd before 2
osv·2020-02-28·CVSS 7.5
CVE-2019-10064 [HIGH] CVE-2019-10064: hostapd before 2
hostapd before 2.6, in EAP mode, makes calls to the rand() and random() standard library functions without any preceding srand() or srandom() call, which results in inappropriate use of deterministic values. This was fixed in conjunction with CVE-2016-10743.
Red Hat
hostapd: Not preventig the use of low quality PRNG in EAP mode leads to insufficient entropy
vendor_redhat·2020-02-27·CVSS 7.5
CVE-2019-10064 [HIGH] CWE-331 hostapd: Not preventig the use of low quality PRNG in EAP mode leads to insufficient entropy
hostapd: Not preventig the use of low quality PRNG in EAP mode leads to insufficient entropy
hostapd before 2.6, in EAP mode, makes calls to the rand() and random() standard library functions without any preceding srand() or srandom() call, which results in inappropriate use of deterministic values. This was fixed in conjunction with CVE-2016-10743.
Package: wpa_supplicant (Red Hat Enterprise Linux 5) - Not affected
Package: wpa_supplicant (Red Hat Enterprise Linux 6) - Not affected
Debian
CVE-2019-10064: wpa - hostapd before 2.6, in EAP mode, makes calls to the rand() and random() standard...
vendor_debian·2019·CVSS 7.5
CVE-2019-10064 [HIGH] CVE-2019-10064: wpa - hostapd before 2.6, in EAP mode, makes calls to the rand() and random() standard...
hostapd before 2.6, in EAP mode, makes calls to the rand() and random() standard library functions without any preceding srand() or srandom() call, which results in inappropriate use of deterministic values. This was fixed in conjunction with CVE-2016-10743.
Scope: local
bookworm: resolved (fixed in 2:2.6-7)
bullseye: resolved (fixed in 2:2.6-7)
forky: resolved (fixed in 2:2.6-7)
sid: resolved (fixed in 2:2.6-7)
trixie: resolved (fixed in 2:2.6-7)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2019-10064 hostapd: Not preventig the use of low quality PRNG in EAP mode leads to insufficient entropy
bugzilla·2020-03-06·CVSS 7.5
CVE-2019-10064 [HIGH] CVE-2019-10064 hostapd: Not preventig the use of low quality PRNG in EAP mode leads to insufficient entropy
CVE-2019-10064 hostapd: Not preventig the use of low quality PRNG in EAP mode leads to insufficient entropy
hostapd before 2.6, in EAP mode, makes calls to the rand() and random() standard library functions without any preceding srand() or srandom() call, which results in inappropriate use of deterministic values. This was fixed in conjunction with CVE-2016-10743.
External Reference:
https://moabi.com/advisories/CVE-2019-10064.html
Discussion:
Analysis:
This issue is only triggered with WPS pin needs to be generated and there is no /dev/urandom device. Such a scenario should not be possible in a typical server configuration, and may be a case in case of IoT or embedded devices. Therefore marking Red Hat Products as not affected.
Bugzilla
CVE-2016-10743 hostapd: Not preventig the use of low quality PRNG leads to insufficient entropy
bugzilla·2020-03-06·CVSS 7.5
CVE-2016-10743 [HIGH] CVE-2016-10743 hostapd: Not preventig the use of low quality PRNG leads to insufficient entropy
CVE-2016-10743 hostapd: Not preventig the use of low quality PRNG leads to insufficient entropy
hostapd before 2.6 does not prevent use of the low-quality PRNG that is reached by an os_random() function call resulting in insufficient entropy.
External Reference:
https://moabi.com/advisories/CVE-2019-10064.html
Discussion:
Analysis:
This issue is only triggered with WPS pin needs to be generated and there is no /dev/urandom device. Such a scenario should not be possible in a typical server configuration, and may be a case in case of IoT or embedded devices. Therefore marking Red Hat Products as not affected.
http://packetstormsecurity.com/files/156573/Hostapd-Insufficient-Entropy.htmlhttp://seclists.org/fulldisclosure/2020/Feb/26http://www.openwall.com/lists/oss-security/2020/02/27/1http://www.openwall.com/lists/oss-security/2020/02/27/1http://www.openwall.com/lists/oss-security/2020/02/27/2https://lists.debian.org/debian-lts-announce/2020/03/msg00010.htmlhttps://lists.debian.org/debian-lts-announce/2020/08/msg00013.htmlhttps://w1.fi/cgit/hostap/commit/?id=98a516eae8260e6fd5c48ddecf8d006285da7389http://packetstormsecurity.com/files/156573/Hostapd-Insufficient-Entropy.htmlhttp://seclists.org/fulldisclosure/2020/Feb/26http://www.openwall.com/lists/oss-security/2020/02/27/1http://www.openwall.com/lists/oss-security/2020/02/27/1http://www.openwall.com/lists/oss-security/2020/02/27/2https://lists.debian.org/debian-lts-announce/2020/03/msg00010.htmlhttps://lists.debian.org/debian-lts-announce/2020/08/msg00013.htmlhttps://w1.fi/cgit/hostap/commit/?id=98a516eae8260e6fd5c48ddecf8d006285da7389
2020-02-28
Published