CVE-2021-41054 tftpd_file.c in atftp through 0.7.4 has a buffer overflow because buffer-size handling does not properly consider the combination of data, OACK, and other options.
HighCVSS 7.5
EPSS 2.3%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebian
Description
tftpd_file.c in atftp through 0.7.4 has a buffer overflow because buffer-size handling does not properly consider the combination of data, OACK, and other options.
Upgrade path
8 packages: 7 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| atftp project atftp | <= 0.7.4 | after 0.7.4 | Fixed |
| debian/atftp(Debian 12) | < 0.7.git20210915-1 | 0.7.git20210915-1 | Fixed |
| debian/atftp(Debian 13) | < 0.7.git20210915-1 | 0.7.git20210915-1 | Fixed |
| debian/atftp(Debian 14) | < 0.7.git20210915-1 | 0.7.git20210915-1 | Fixed |
| ubuntu/atftp(Ubuntu 20.04) | < 0.7.git20120829-3.1ubuntu0.1; = 0.7.git20120829-3.1 | 0.7.git20120829-3.1ubuntu0.1 | Fixed |
| ubuntu/atftp(Ubuntu Pro 16.04) | < 0.7.git20120829-3.1~0.16.04.1+esm1; = 0.7.git20120829-2.1; = 0.7.git20120829-3.1~0.16.04.1 | 0.7.git20120829-3.1~0.16.04.1+esm1 | Fixed |
| ubuntu/atftp(Ubuntu Pro 18.04) | < 0.7.git20120829-3.1~0.18.04.1+esm1; = 0.7.git20120829-3; = 0.7.git20120829-3.1~0.18.04.1 | 0.7.git20120829-3.1~0.18.04.1+esm1 | Fixed |
| debian linux | = 9.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/atftp(Debian:12) | < 0.7.git20210915-1 | 0.7.git20210915-1 |
| debian/atftp(Debian:13) | < 0.7.git20210915-1 | 0.7.git20210915-1 |
| debian/atftp(Debian:14) | < 0.7.git20210915-1 | 0.7.git20210915-1 |
| atftp project atftp | <= 0.7.4 | No fix listed |
| debian linux | = 9.0 | No fix listed |
| ubuntu/atftp(Ubuntu:Pro:16.04) | < 0.7.git20120829-3.1~0.16.04.1+esm1 | 0.7.git20120829-3.1~0.16.04.1+esm1 |
| ubuntu/atftp(Ubuntu:Pro:16.04) | = 0.7.git20120829-2.1 | No fix listed |
| ubuntu/atftp(Ubuntu:Pro:16.04) | = 0.7.git20120829-3.1~0.16.04.1 | No fix listed |
| ubuntu/atftp(Ubuntu:Pro:18.04) | < 0.7.git20120829-3.1~0.18.04.1+esm1 | 0.7.git20120829-3.1~0.18.04.1+esm1 |
| ubuntu/atftp(Ubuntu:Pro:18.04) | = 0.7.git20120829-3 | No fix listed |
| ubuntu/atftp(Ubuntu:Pro:18.04) | = 0.7.git20120829-3.1~0.18.04.1 | No fix listed |
| ubuntu/atftp(Ubuntu:20.04) | < 0.7.git20120829-3.1ubuntu0.1 | 0.7.git20120829-3.1ubuntu0.1 |
| ubuntu/atftp(Ubuntu:20.04) | = 0.7.git20120829-3.1 | No fix listed |
References
- Debian Security Tracker CVE-2021-41054 vendor-advisory
- github.com exploit third-party-advisory
- [debian-lts-announce] 20211117 [SECURITY] [DLA 2820-1] atftp security update mailing-list third-party-advisory
- sourceforge.net issue-tracking patch third-party-advisory
- bugs.debian.org issue-tracking
- ubuntu.com issue-tracking
- ubuntu.com vendor-advisory
- www.cve.org issue-tracking