Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) in c-ares - CVE-2023-31147

 

Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) in c-ares - CVE-2023-31147

Published: May 23, 2023 / Updated: June 21, 2023


Vulnerability identifier: #VU76426
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2023-31147
CWE-ID: CWE-338
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: c-ares.haxx.se
Affected software:
c-ares

Detailed vulnerability description

The vulnerability allows a remote attacker to perform spoofing attack.

The vulnerability exists due to usage of a rand() function in case /dev/urandom or RtlGenRandom() are unavailable. A remote attacker can perform spoofing attack.


How to mitigate CVE-2023-31147

Install updates from vendor's website.

Sources