CVE-2020-5204

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
Configurations

Configuration 1 (hide)

cpe:2.3:a:troglobit:uftpd:*:*:*:*:*:*:*:*

History

21 Nov 2024, 05:33

Type Values Removed Values Added
References () http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00034.html - () http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00034.html -
References () https://github.com/troglobit/uftpd/commit/0fb2c031ce0ace07cc19cd2cb2143c4b5a63c9dd - Patch, Third Party Advisory () https://github.com/troglobit/uftpd/commit/0fb2c031ce0ace07cc19cd2cb2143c4b5a63c9dd - Patch, Third Party Advisory
References () https://github.com/troglobit/uftpd/security/advisories/GHSA-wrpr-xw7q-9wvq - Third Party Advisory () https://github.com/troglobit/uftpd/security/advisories/GHSA-wrpr-xw7q-9wvq - Third Party Advisory
CVSS v2 : 6.5
v3 : 8.8
v2 : 6.5
v3 : 6.5

Information

Published : 2020-01-06 20:15

Updated : 2024-11-21 05:33


NVD link : CVE-2020-5204

Mitre link : CVE-2020-5204

CVE.ORG link : CVE-2020-5204


JSON object : View

Products Affected

troglobit

  • uftpd
CWE
CWE-121

Stack-based Buffer Overflow

CWE-120

Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')