ID

VAR-202001-1606


CVE

CVE-2020-5204


TITLE

uftpd Vulnerable to classical buffer overflow

Trust: 0.8

sources: JVNDB: JVNDB-2020-001054

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. uftpd Contains a classic buffer overflow vulnerability.Information is acquired, information is falsified, and denial of service (DoS) May be in a state

Trust: 1.62

sources: NVD: CVE-2020-5204 // JVNDB: JVNDB-2020-001054

AFFECTED PRODUCTS

vendor:troglobitmodel:uftpdscope:ltversion:2.11

Trust: 1.8

sources: JVNDB: JVNDB-2020-001054 // NVD: CVE-2020-5204

CVSS

SEVERITY

CVSSV2

CVSSV3

nvd@nist.gov: CVE-2020-5204
value: HIGH

Trust: 1.0

security-advisories@github.com: CVE-2020-5204
value: MEDIUM

Trust: 1.0

NVD: CVE-2020-5204
value: HIGH

Trust: 0.8

CNNVD: CNNVD-202001-145
value: HIGH

Trust: 0.6

nvd@nist.gov: CVE-2020-5204
severity: MEDIUM
baseScore: 6.5
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
exploitabilityScore: 8.0
impactScore: 6.4
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 1.8

nvd@nist.gov: CVE-2020-5204
baseSeverity: HIGH
baseScore: 8.8
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
exploitabilityScore: 2.8
impactScore: 5.9
version: 3.1

Trust: 1.0

security-advisories@github.com: CVE-2020-5204
baseSeverity: MEDIUM
baseScore: 6.5
vectorString: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L
attackVector: NETWORK
attackComplexity: LOW
privilegesRequired: LOW
userInteraction: REQUIRED
scope: CHANGED
confidentialityImpact: LOW
integrityImpact: LOW
availabilityImpact: LOW
exploitabilityScore: 2.3
impactScore: 3.7
version: 3.1

Trust: 1.0

NVD: CVE-2020-5204
baseSeverity: HIGH
baseScore: 8.8
vectorString: CVSS:3.0/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
exploitabilityScore: NONE
impactScore: NONE
version: 3.0

Trust: 0.8

sources: JVNDB: JVNDB-2020-001054 // CNNVD: CNNVD-202001-145 // NVD: CVE-2020-5204 // NVD: CVE-2020-5204

PROBLEMTYPE DATA

problemtype:CWE-120

Trust: 1.8

problemtype:CWE-121

Trust: 1.0

sources: JVNDB: JVNDB-2020-001054 // NVD: CVE-2020-5204

THREAT TYPE

remote

Trust: 0.6

sources: CNNVD: CNNVD-202001-145

TYPE

buffer error

Trust: 0.6

sources: CNNVD: CNNVD-202001-145

CONFIGURATIONS

sources: JVNDB: JVNDB-2020-001054

PATCH

title:FTP: Fix buffer overflow in PORT parser, reported by Aaron Esauurl:https://github.com/troglobit/uftpd/commit/0fb2c031ce0ace07cc19cd2cb2143c4b5a63c9dd

Trust: 0.8

title:Buffer Overflowurl:https://github.com/troglobit/uftpd/security/advisories/GHSA-wrpr-xw7q-9wvq

Trust: 0.8

title:uftpd Buffer error vulnerability fixurl:http://www.cnnvd.org.cn/web/xxk/bdxqById.tag?id=108297

Trust: 0.6

sources: JVNDB: JVNDB-2020-001054 // CNNVD: CNNVD-202001-145

EXTERNAL IDS

db:NVDid:CVE-2020-5204

Trust: 2.4

db:JVNDBid:JVNDB-2020-001054

Trust: 0.8

db:CNNVDid:CNNVD-202001-145

Trust: 0.6

sources: JVNDB: JVNDB-2020-001054 // CNNVD: CNNVD-202001-145 // NVD: CVE-2020-5204

REFERENCES

url:https://github.com/troglobit/uftpd/security/advisories/ghsa-wrpr-xw7q-9wvq

Trust: 1.6

url:http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00034.html

Trust: 1.6

url:https://github.com/troglobit/uftpd/commit/0fb2c031ce0ace07cc19cd2cb2143c4b5a63c9dd

Trust: 1.6

url:https://nvd.nist.gov/vuln/detail/cve-2020-5204

Trust: 1.4

url:https://cve.mitre.org/cgi-bin/cvename.cgi?name=cve-2020-5204

Trust: 0.8

url:https://vigilance.fr/vulnerability/uftpd-buffer-overflow-via-handle-port-31368

Trust: 0.6

sources: JVNDB: JVNDB-2020-001054 // CNNVD: CNNVD-202001-145 // NVD: CVE-2020-5204

SOURCES

db:JVNDBid:JVNDB-2020-001054
db:CNNVDid:CNNVD-202001-145
db:NVDid:CVE-2020-5204

LAST UPDATE DATE

2024-11-23T22:25:37.372000+00:00


SOURCES UPDATE DATE

db:JVNDBid:JVNDB-2020-001054date:2020-01-23T00:00:00
db:CNNVDid:CNNVD-202001-145date:2020-05-20T00:00:00
db:NVDid:CVE-2020-5204date:2024-11-21T05:33:40.420

SOURCES RELEASE DATE

db:JVNDBid:JVNDB-2020-001054date:2020-01-23T00:00:00
db:CNNVDid:CNNVD-202001-145date:2020-01-06T00:00:00
db:NVDid:CVE-2020-5204date:2020-01-06T20:15:12.523