Use of insufficiently random values in c-ares - CVE-2007-3153

 

Use of insufficiently random values in c-ares - CVE-2007-3153

Published: September 30, 2021


Vulnerability identifier: #VU56970
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2007-3153
CWE-ID: CWE-330
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  weak facility for producing a random number sequence (Unix rand) within the ares_init:randomize_key() function in c-ares. A remote attacker can spoof DNS responses by guessing certain value.


How to mitigate CVE-2007-3153

Install updates from vendor's website.

Sources