Buffer overflow in Troglobit Uftpd
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
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L.
EPSS exploit prediction
EPSS: 0.011 (63.7th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 64th percentile — 63.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.011 · newest: 0.011 · change: 0.000
Affected products
- Troglobit Uftpd — versions < 2.11
Weakness classification (CWE)
References
- github.com/troglobit/uftpd/security/advisories/GHSA-wrpr-xw7q-9wvq (Third Party Advisory)
- github.com/troglobit/uftpd/commit/0fb2c031ce0ace07cc19cd2cb2143c4b5a63c9dd (Patch, Third Party Advisory)
- lists.opensuse.org/opensuse-security-announce/2020-01/msg00034.html (vendor-advisory)
Frequently asked questions
- What is CVE-2020-5204?
- CVE-2020-5204 is a medium-severity vulnerability in Troglobit Uftpd, classified under Stack-based Buffer Overflow. CVSS score: 6.5/10. Published 2020-01-06.
- How severe is CVE-2020-5204?
- Medium severity. CVSS v3 base score is 6.5 out of 10.