Skip to content

CVE-2020-5204 Buffer overflow vulnerability in uftpd

HighCVSS 8.8 EPSS 1.1%
Published
Updated
Exploit status
No public exploit known

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

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
troglobit uftpd < 2.11; = < 2.11 2.11 Fixed

Affected products

ProductAffected versionsFixed in
troglobit uftpd < 2.11 2.11
troglobit uftpd = < 2.11 No fix listed

References