Use-after-free in c-ares - CVE-2020-14354

 

Use-after-free in c-ares - CVE-2020-14354

Published: September 30, 2021


Vulnerability identifier: #VU56968
CSH Severity: Low
CVSS v4: 6.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-14354
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a use-after-free error and double-free in c-ares, if the ares_destroy() function is called prior to the ares_getaddrinfo() completing. A remote attacker can perform a denial of service (DoS) attack.


Affected software

c-ares
Fedora
nodejs

How to mitigate CVE-2020-14354

Install updates from vendor's website.

c-ares - update to 1.16.1
nodejs - addressed in versions 14.15.1-1.fc33, 14-3220201203015508.43bbeeef, 14-3320201203015508.601d93de

External References

Related Security Bulletins