Insecure Randomness Affecting hostapd package, versions [,2.6)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
2.5% (90th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Insecure Randomness vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-HOSTAPD-2319529
  • published14 Dec 2021
  • disclosed28 Feb 2020
  • creditUnknown

Introduced: 28 Feb 2020

CVE-2019-10064  (opens in a new tab)
CWE-331  (opens in a new tab)

How to fix?

Upgrade hostapd to version 2.6 or higher.

Overview

Affected versions of this package are vulnerable to Insecure Randomness 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.

CVSS Scores

version 3.1