CVE-2020-20277

Source
https://cve.org/CVERecord?id=CVE-2020-20277
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2020-20277.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2020-20277
Published
2020-12-18T19:15:14.110Z
Modified
2025-11-14T10:55:18.664863Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

There are multiple unauthenticated directory traversal vulnerabilities in different FTP commands in uftpd FTP server versions 2.7 to 2.10 due to improper implementation of a chroot jail in common.c's compose_abspath function that can be abused to read or write to arbitrary files on the filesystem, leak process memory, or potentially lead to remote code execution.

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

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

Database specific

source

"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2020-20277.json"

vanir_signatures

[
    {
        "digest": {
            "line_hashes": [
                "108229206972147259569248804372767412868",
                "276360762841382069748424337075868013451",
                "242312807191981524080516238265272007214",
                "250357959569044888915036652998736230067"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2020-20277-6bb940c7",
        "signature_type": "Line",
        "source": "https://github.com/troglobit/uftpd/commit/455b47d3756aed162d2d0ef7f40b549f3b5b30fe",
        "target": {
            "file": "src/common.c"
        },
        "deprecated": false,
        "signature_version": "v1"
    }
]