Vulnerability Name:

CVE-2020-5204 (CCN-174005)

Assigned:2020-01-05
Published:2020-01-05
Updated:2020-01-18
Summary: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
CVSS v3 Severity:8.8 High (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)
7.7 High (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): Low
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
7.3 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L)
6.4 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): Low
Integrity (I): Low
Availibility (A): Low
CVSS v2 Severity:6.5 Medium (CVSS v2 Vector: AV:N/AC:L/Au:S/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
7.5 High (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
Vulnerability Type:CWE-120
Vulnerability Consequences:Gain Access
References:Source: MITRE
Type: CNA
CVE-2020-5204

Source: SUSE
Type: UNKNOWN
openSUSE-SU-2020:0069

Source: XF
Type: UNKNOWN
uftpd-cve20205204-bo(174005)

Source: MISC
Type: Patch, Third Party Advisory
https://github.com/troglobit/uftpd/commit/0fb2c031ce0ace07cc19cd2cb2143c4b5a63c9dd

Source: CCN
Type: uftpd GIT Repository
Buffer Overflow

Source: CONFIRM
Type: Third Party Advisory
https://github.com/troglobit/uftpd/security/advisories/GHSA-wrpr-xw7q-9wvq

Vulnerable Configuration:Configuration 1:
  • cpe:/a:troglobit:uftpd:*:*:*:*:*:*:*:* (Version < 2.11)

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:64637
    P
    Security update for fetchmail (Moderate)
    2021-12-14
    oval:org.opensuse.security:def:74749
    P
    Security update for the Linux Kernel (Important)
    2021-12-06
    oval:org.opensuse.security:def:64807
    P
    Security update for speex (Moderate)
    2021-12-01
    oval:org.opensuse.security:def:63090
    P
    gv-3.7.4-1.41 on GA media (Moderate)
    2021-08-10
    oval:org.opensuse.security:def:63383
    P
    virt-install-3.2.0-5.1 on GA media (Moderate)
    2021-08-10
    oval:org.opensuse.security:def:20205204
    V
    CVE-2020-5204
    2021-06-25
    oval:org.opensuse.security:def:64535
    P
    Security update for apache2 (Important)
    2021-06-22
    oval:org.opensuse.security:def:62880
    P
    xorg-x11-server-sdk-1.19.6-6.19 on GA media (Moderate)
    2021-06-08
    oval:org.opensuse.security:def:64695
    P
    Security update for libX11 (Moderate)
    2021-05-26
    oval:org.opensuse.security:def:63586
    P
    libntfs-3g87-2016.2.22-3.3.2 on GA media (Moderate)
    2020-12-03
    oval:org.opensuse.security:def:62912
    P
    openldap2-devel-32bit-2.4.46-9.3.1 on GA media (Moderate)
    2020-12-03
    oval:org.opensuse.security:def:62884
    P
    ant-1.9.10-3.3.1 on GA media (Moderate)
    2020-12-03
    oval:org.opensuse.security:def:62887
    P
    binutils-devel-32bit-2.31-5.31 on GA media (Moderate)
    2020-12-03
    oval:org.opensuse.security:def:74882
    P
    Security update for uftpd (Important)
    2020-12-01
    oval:org.opensuse.security:def:64427
    P
    pam_krb5 on GA media (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:63733
    P
    Security update for webkit2gtk3 (Important)
    2020-12-01
    oval:org.opensuse.security:def:64428
    P
    pam_ssh on GA media (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:63962
    P
    Security update for libgxps (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:64291
    P
    lftp on GA media (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:110544
    P
    Security update for uftpd (Important)
    2020-01-18
    BACK
    troglobit uftpd *