Use of insufficiently random values in c-ares - CVE-2007-3153
Published: September 30, 2021
Vulnerability identifier: #VU56970
CSH Severity: Medium
CVSS v4: 6.9 [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]
CVE-ID: CVE-2007-3153
CWE-ID: CWE-330
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
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.
Affected software
c-ares
How to mitigate CVE-2007-3153
Install updates from vendor's website.
c-ares - update to 1.4.0