NULL pointer dereference in Hiredis - CVE-2020-7105

 

NULL pointer dereference in Hiredis - CVE-2020-7105

Published: January 16, 2020 / Updated: August 4, 2020


Vulnerability identifier: #VU24357
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-7105
CWE-ID: CWE-476
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 NULL pointer dereference error in "async.c" and "dict.c" in "libhiredis.a" because malloc return values are unchecked. A remote attacker can perform a denial of service (DoS) attack.


Affected software

Hiredis
Fedora
hiredis

How to mitigate CVE-2020-7105

Install updates from vendor's website.

Hiredis - update to 1.0.0
hiredis - addressed in versions 0.12.1-2.el7, 0.13.3-13.el8, 0.13.3-13.fc30, 0.13.3-13.fc31

External References

Related Security Bulletins