CVE-2021-41054 json
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,…
published 5y ago modified 4mo ago also EUVD-2021-28205
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.3%
- EPSS 2.3% chance of exploitation in 30 days, percentile 83%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- atftp Debian 14, Debian 13, Debian 12 0.7.git20210915-1
debian advisories DEBIAN-CVE-2021-41054
- atftp Ubuntu 20.04 LTS 0.7.git20120829-3.1ubuntu0.1
- atftp Ubuntu Pro 16.04 LTS 0.7.git20120829-3.1~0.16.04.1+esm1
- atftp Ubuntu Pro 18.04 LTS 0.7.git20120829-3.1~0.18.04.1+esm1
ubuntu advisories UBUNTU-CVE-2021-41054
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- atftp SLES for SAP 12 SP5, SLES 12 SP5 0.7.0-160.11.1
suse advisories SUSE-SU-2021:3237-1
- atftp openSUSE Tumbleweed 0.7.5-1.1
opensuse advisories openSUSE-SU-2024:10636-1
- atftp Arch Linux 0.7.5-1
arch linux advisories AVG-2381
Is CVE-2021-41054 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
2.34% chance of exploitation in the next 30 days, higher than 83% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/nu11secur1ty/CVE-mitre/tree/main/CVE-2021-41054 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-120 Buffer Copy without Checking Size of Input
References
-
sourceforge.net
/p/atftp/code/ci/d255bf90834fb45be52decf9bc0b4fb46c90f205/
patch, third-party-advisory
-
github.com
/nu11secur1ty/CVE-mitre/tree/main/CVE-2021-41054
exploit, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2021/11/msg00014.html
mailing-list, third-party-advisory
Sources
- CVE List CVE-2021-41054
- NVD CVE-2021-41054
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.