Buffer overflow in Atftp Project
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.043, 91.3th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Atftp Project — versions 0.7.1
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (abhirag/static-analyzer-c-rules). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- pulsesecurity.co.nz/advisories/atftpd-multiple-vulnerabilities (Exploit, Third Party Advisory)
- sourceforge.net/p/atftp/code/ci/abed7d245d8e8bdfeab24f9f7f55a52c3140f96b/ (Patch, Third Party Advisory)
- DSA-4438 (vendor-advisory)
- 20190508 [SECURITY] [DSA 4438-1] atftp security update (mailing-list)
- [debian-lts-announce] 20190512 [SECURITY] [DLA 1783-1] atftp security update (mailing-list)
- GLSA-202003-14 (vendor-advisory)
- USN-4540-1 (vendor-advisory)