NULL pointer dereference in atftp - CVE-2019-11366

 

NULL pointer dereference in atftp - CVE-2019-11366

Published: April 20, 2019 / Updated: September 29, 2020


Vulnerability identifier: #VU47133
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2019-11366
CWE-ID: CWE-476
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Dennis Kaarsemaker
Affected software:
atftp

Detailed vulnerability description

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 atftpd in atftp 0.7.1. It does not lock the thread_list_mutex mutex before assigning the current thread data structure. As a result, the daemon is vulnerable to a denial of service attack due to a NULL pointer dereference. If thread_data is NULL when assigned to current, and modified by another thread before a certain tftpd_list.c check, there is a crash when dereferencing current->next. A remote attacker can perform a denial of service (DoS) attack.


How to mitigate CVE-2019-11366

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

Sources