Out-of-bounds Write Affecting atftp package, versions <0.7.git20120829-3.1


Severity

Recommended
0.0
critical
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
11.29% (96th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN11-ATFTP-525641
  • published20 Apr 2019
  • disclosed20 Apr 2019

Introduced: 20 Apr 2019

CVE-2019-11365  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Debian:11 atftp to version 0.7.git20120829-3.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream atftp package and not the atftp package as distributed by Debian. See How to fix? for Debian:11 relevant fixed versions and status.

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.