CVE-2020-5204

Source
https://nvd.nist.gov/vuln/detail/CVE-2020-5204
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-5204.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2020-5204
Related
Published
2020-01-06T20:15:12Z
Modified
2025-01-15T01:45:46.797324Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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

References

Affected packages

Git / github.com/troglobit/uftpd

Affected ranges

Type
GIT
Repo
https://github.com/troglobit/uftpd
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed

Affected versions

v0.*

v0.1

v1.*

v1.0
v1.1
v1.2
v1.3
v1.4
v1.5
v1.6
v1.7
v1.8
v1.9
v1.9.1

v2.*

v2.0
v2.0-rc1
v2.0.1
v2.0.2
v2.1
v2.10
v2.2
v2.3
v2.4
v2.5
v2.6
v2.7
v2.8
v2.9