CVE-2020-5204
published medium CVSS 3.1 · 6.5Buffer overflow vulnerability in uftpd
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| troglobit | — | uftpd< 2.11 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | openSUSE-Leap-15.1 | uftpdx86_64 | Advisory build | 2.11-lp151.2.3.1 | OPENSUSE-SU-2020:0069-1 |
Description
In uftpd before 2.11, there is a buffer overflow vulnerability in handle_PORT in ftpcmd.c that is caused by a buffer that is 16 bytes large being filled via sprintf() with user input based on the format specifier string %d.%d.%d.%d. The 16 byte size is correct for valid IPv4 addresses (len('255.255.255.255') == 16), but the format specifier %d allows more than 3 digits. This has been fixed in version 2.11
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| troglobit | uftpd | < 2.11 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-121 CWE-121: Stack-based Buffer Overflow
References
3- openSUSE-SU-2020:0069 http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00034.html
- https://github.com/troglobit/uftpd/commit/0fb2c031ce0ace07cc19cd2cb2143c4b5a63c9dd
- https://github.com/troglobit/uftpd/security/advisories/GHSA-wrpr-xw7q-9wvq
Provider assertions
2GitHub_M · cna
Buffer overflow vulnerability in uftpd
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 98af6d095c76047fd602f0d270bb4b65d77fa4cbf842828b05e3357dc8b7ea7a
- Ingested
- 23 Sep 2026, 07:51:02 UTC
- Source record
- Official CVE record