{"api_version":"1","generated_at":"2026-07-23T12:30:42+00:00","cve":"CVE-2020-5204","urls":{"html":"https://cve.report/CVE-2020-5204","api":"https://cve.report/api/cve/CVE-2020-5204.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2020-5204","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2020-5204"},"summary":{"title":"CVE-2020-5204","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(&#39;255.255.255.255&#39;) == 16), but the format specifier %d allows more than 3 digits. This has been fixed in version 2.11","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2020-01-06 20:15:00","updated_at":"2020-01-18 19:15:00"},"problem_types":["CWE-120"],"metrics":[],"references":[{"url":"https://github.com/troglobit/uftpd/security/advisories/GHSA-wrpr-xw7q-9wvq","name":"https://github.com/troglobit/uftpd/security/advisories/GHSA-wrpr-xw7q-9wvq","refsource":"CONFIRM","tags":["Third Party Advisory"],"title":"Buffer Overflow · Advisory · troglobit/uftpd · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00034.html","name":"openSUSE-SU-2020:0069","refsource":"SUSE","tags":[],"title":"[security-announce] openSUSE-SU-2020:0069-1: important: Security update","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/troglobit/uftpd/commit/0fb2c031ce0ace07cc19cd2cb2143c4b5a63c9dd","name":"https://github.com/troglobit/uftpd/commit/0fb2c031ce0ace07cc19cd2cb2143c4b5a63c9dd","refsource":"MISC","tags":["Patch","Third Party Advisory"],"title":"FTP: Fix buffer overflow in PORT parser, reported by Aaron Esau · troglobit/uftpd@0fb2c03 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-5204","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-5204","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2020","cve_id":"5204","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"troglobit","cpe5":"uftpd","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2020","cve_id":"5204","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"troglobit","cpe5":"uftpd","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2020-5204","STATE":"PUBLIC","TITLE":"Buffer overflow vulnerability in uftpd"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"uftpd","version":{"version_data":[{"version_value":"< 2.11"}]}}]},"vendor_name":"troglobit"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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(&#39;255.255.255.255&#39;) == 16), but the format specifier %d allows more than 3 digits. This has been fixed in version 2.11"}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-121: Stack-based Buffer Overflow"}]}]},"references":{"reference_data":[{"name":"https://github.com/troglobit/uftpd/security/advisories/GHSA-wrpr-xw7q-9wvq","refsource":"CONFIRM","url":"https://github.com/troglobit/uftpd/security/advisories/GHSA-wrpr-xw7q-9wvq"},{"name":"https://github.com/troglobit/uftpd/commit/0fb2c031ce0ace07cc19cd2cb2143c4b5a63c9dd","refsource":"MISC","url":"https://github.com/troglobit/uftpd/commit/0fb2c031ce0ace07cc19cd2cb2143c4b5a63c9dd"},{"refsource":"SUSE","name":"openSUSE-SU-2020:0069","url":"http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00034.html"}]},"source":{"advisory":"GHSA-wrpr-xw7q-9wvq","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2020-01-06 20:15:00","lastModifiedDate":"2020-01-18 19:15:00","problem_types":["CWE-120"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:S/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"SINGLE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":6.5},"severity":"MEDIUM","exploitabilityScore":8,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:troglobit:uftpd:*:*:*:*:*:*:*:*","versionEndExcluding":"2.11","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2020","CveId":"5204","Ordinal":"165418","Title":"CVE-2020-5204","CVE":"CVE-2020-5204","Year":"2020"},"notes":[{"CveYear":"2020","CveId":"5204","Ordinal":"1","NoteData":"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(&#39;255.255.255.255&#39;) == 16), but the format specifier %d allows more than 3 digits. This has been fixed in version 2.11","Type":"Description","Title":null},{"CveYear":"2020","CveId":"5204","Ordinal":"2","NoteData":"2020-01-06","Type":"Other","Title":"Published"},{"CveYear":"2020","CveId":"5204","Ordinal":"3","NoteData":"2020-01-18","Type":"Other","Title":"Modified"}]}}}