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: 8.2 [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]
CVE-ID: CVE-2019-11366
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 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.


Affected software

atftp
Gentoo Linux
Ubuntu
atftp (Ubuntu package)
atftpd (Ubuntu package)

How to mitigate CVE-2019-11366

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

atftp (Ubuntu package) - update to 0.7.git20120829-3.1~0.16.04.1
atftpd (Ubuntu package) - addressed in versions 0.7.git20120829-3.1~0.16.04.1, 0.7.git20120829-3.1~0.18.04.1

External References

Related Security Bulletins