CVE-2020-5204
Troglobit Uftpd vulnerability
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 products
Uftpd. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Troglobit Uftpd runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/troglobit/uftpd/commit/0fb2c031ce0ace07cc19cd2cb2143c4b5a63c9dd · Patch
- github.com/troglobit/uftpd/security/advisories/GHSA-wrpr-xw7q-9wvq · Third Party Advisory
- lists.opensuse.org/opensuse-security-announce/2020-01/msg00034.html
- nvd.nist.gov/vuln/detail/CVE-2020-5204
- cve.org/CVERecord?id=CVE-2020-5204
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.