CVE-2020-5204

Medium

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

SeverityMedium
CVSS6.5
Exploit probability—
ProductTroglobit Uftpd
PublishedJan 6, 2020
First seenJan 6, 2020
Weakness typeCWE-121CWE-121

How to fix

Update
  • troglobit uftpd2.11 or later

Affected products

ProductAffected versionsFixed in
troglobit uftpdv < 2.112.11

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2020-5204 · Troglobit Uftpd · Dark Radar