CVEvulnerability
CVE-2020-5204
8.8 HIGH
Official page ↗
- Status
- Modified
- Published
- 2020-01-06
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 6.5 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L
- CVSS 3.1 ([email protected])
- 8.8 HIGH — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 6.5 MEDIUM — AV:N/AC:L/Au:S/C:P/I:P/A:P
- Weaknesses
- CWE-120, CWE-121
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
Affected configurations
• troglobit uftpd (< 2.11)
Related
References
- http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00034.html lists.opensuse.org
- https://github.com/troglobit/uftpd/commit/0fb2c031ce0ace07cc19cd2cb2143c4b5a63c9dd Patch, Third Party Advisory
- https://github.com/troglobit/uftpd/security/advisories/GHSA-wrpr-xw7q-9wvq Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00034.html lists.opensuse.org
- https://github.com/troglobit/uftpd/commit/0fb2c031ce0ace07cc19cd2cb2143c4b5a63c9dd Patch, Third Party Advisory
- https://github.com/troglobit/uftpd/security/advisories/GHSA-wrpr-xw7q-9wvq Third Party Advisory