CVE-2019-11365
An issue was discovered in atftpd in atftp 0.7.1. A remote attacker ma ...
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, Photon OS. Rated lower by Ubuntu (medium).
Description
An issue was discovered in atftpd in atftp 0.7.1. A remote attacker may send a crafted packet triggering a stack-based buffer overflow due to an insecurely implemented strncpy call. The vulnerability is triggered by sending an error packet of 3 bytes or fewer. There are multiple instances of this vulnerable strncpy pattern within the code base, specifically within tftpd_file.c, tftp_file.c, tftpd_mtftp.c, and tftp_mtftp.c.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| Photon OS 1.0 | atftp | 0.7.1-9.ph1 |
| Photon OS 2.0 | atftp | 0.7.1-9.ph2 |
| debian 11 | atftp | 0.7.git20120829-3.1 |
| debian 12 | atftp | 0.7.git20120829-3.1 |
| debian 13 | atftp | 0.7.git20120829-3.1 |
| debian 14 | atftp | 0.7.git20120829-3.1 |
| debian 8 | atftp | 0.7.git20120829-1+deb8u1 |
| debian 9 | atftp | 0.7.git20120829-3.1~deb9u1 |
| echo | atftp | 0.7.git20120829-3.1 |
| ubuntu 16.04 | atftp | 0.7.git20120829-3.1~0.16.04.1 |
| ubuntu 16.04-ESM | atftp | 0.7.git20120829-3.1~0.16.04.1 |
| ubuntu 18.04 | atftp | 0.7.git20120829-3.1~0.18.04.1 |
Show all 13 entries from 13 sources
| Source | Package | Fixed in |
|---|---|---|
| Photon OS 1.0 | atftp | 0.7.1-9.ph1 |
| Photon OS 2.0 | atftp | 0.7.1-9.ph2 |
| debian 11 | atftp | 0.7.git20120829-3.1 |
| debian 12 | atftp | 0.7.git20120829-3.1 |
| debian 13 | atftp | 0.7.git20120829-3.1 |
| debian 14 | atftp | 0.7.git20120829-3.1 |
| debian 8 | atftp | 0.7.git20120829-1+deb8u1 |
| debian 9 | atftp | 0.7.git20120829-3.1~deb9u1 |
| echo | atftp | 0.7.git20120829-3.1 |
| ubuntu 16.04 | atftp | 0.7.git20120829-3.1~0.16.04.1 |
| ubuntu 16.04-ESM | atftp | 0.7.git20120829-3.1~0.16.04.1 |
| ubuntu 18.04 | atftp | 0.7.git20120829-3.1~0.18.04.1 |
| ubuntu 18.04-ESM | atftp | 0.7.git20120829-3.1~0.18.04.1 |
References
- https://lists.debian.org/debian-lts-announce/2019/05/msg00012.html
- https://pulsesecurity.co.nz/advisories/atftpd-multiple-vulnerabilities
- https://seclists.org/bugtraq/2019/May/16
- https://security.gentoo.org/glsa/202003-14
- https://sourceforge.net/p/atftp/code/ci/abed7d245d8e8bdfeab24f9f7f55a52c3140f96b/
- https://ubuntu.com/security/notices/USN-4540-1
- https://ubuntu.com/security/notices/USN-4643-1
- https://usn.ubuntu.com/4540-1/