CVE-2019-11365
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.
What to do
Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 20.04 | atftp | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | atftp | Fixed | 0.7.git20120829-3.1~0.18.04.1 | UBUNTU-CVE-2019-11365 |
| Ubuntu 16.04 | atftp | Fixed | 0.7.git20120829-3.1~0.16.04.1 | UBUNTU-CVE-2019-11365 |
| Ubuntu 14.04 | atftp | Fix pending | ||
| Debian 14 | atftp | Fixed | 0.7.git20120829-3.1 | DEBIAN-CVE-2019-11365 |
| Debian 13 | atftp | Fixed | 0.7.git20120829-3.1 | DEBIAN-CVE-2019-11365 |
| Debian 12 | atftp | Fixed | 0.7.git20120829-3.1 | DEBIAN-CVE-2019-11365 |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- https://www.debian.org/security/2019/dsa-4438 (vendor-advisory)
- https://security.gentoo.org/glsa/202003-14 (vendor-advisory)
- https://usn.ubuntu.com/4540-1/ (vendor-advisory)
References
- https://pulsesecurity.co.nz/advisories/atftpd-multiple-vulnerabilities
- https://sourceforge.net/p/atftp/code/ci/abed7d245d8e8bdfeab24f9f7f55a52c3140f96b/
- https://www.debian.org/security/2019/dsa-4438
- https://seclists.org/bugtraq/2019/May/16
- https://lists.debian.org/debian-lts-announce/2019/05/msg00012.html
- https://security.gentoo.org/glsa/202003-14
- https://usn.ubuntu.com/4540-1/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.