{"id":"CVE-2020-5221","state":"PUBLISHED","title":"Directory Traversal (Chroot Escape) vulnerability in uftpd","description":"In uftpd before 2.11, it is possible for an unauthenticated user to perform a directory traversal attack using multiple different FTP commands and read and write to arbitrary locations on the filesystem due to the lack of a well-written chroot jail in compose_abspath(). This has been fixed in version 2.11","publishedAt":"2020-01-22T18:50:13.000Z","updatedAt":"2024-08-04T08:22:08.876Z","severity":{"score":6.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L","source":"GitHub_M"},"assigner":"GitHub_M","products":["troglobit uftpd"],"affected":[{"vendor":"troglobit","product":"uftpd","versions":[{"version":"< 2.11","status":"affected"}]}],"references":["https://github.com/troglobit/uftpd/security/advisories/GHSA-wmx8-v7mx-6x9h","https://github.com/troglobit/uftpd/commit/455b47d3756aed162d2d0ef7f40b549f3b5b30fe"],"weaknesses":["CWE-22"],"ingestedAt":"2026-10-29T19:47:35.543Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2020/5xxx/CVE-2020-5221.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2020-5221","state":"PUBLISHED","datePublished":"2020-01-22T18:50:13.000Z","dateUpdated":"2024-08-04T08:22:08.876Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2020-01-02T00:00:00.000Z"},"containers":{"cna":{"title":"Directory Traversal (Chroot Escape) vulnerability in uftpd","descriptions":[{"lang":"en","value":"In uftpd before 2.11, it is possible for an unauthenticated user to perform a directory traversal attack using multiple different FTP commands and read and write to arbitrary locations on the filesystem due to the lack of a well-written chroot jail in compose_abspath(). This has been fixed in version 2.11"}],"affected":[{"vendor":"troglobit","product":"uftpd","versions":[{"version":"< 2.11","status":"affected"}]}],"references":[{"url":"https://github.com/troglobit/uftpd/security/advisories/GHSA-wmx8-v7mx-6x9h","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/troglobit/uftpd/commit/455b47d3756aed162d2d0ef7f40b549f3b5b30fe","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"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"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","description":"CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","dateUpdated":"2020-01-22T18:50:13.000Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa"},"source":{"advisory":"GHSA-wmx8-v7mx-6x9h","discovery":"UNKNOWN"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2020-5221","STATE":"PUBLIC","TITLE":"Directory Traversal (Chroot Escape) 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, it is possible for an unauthenticated user to perform a directory traversal attack using multiple different FTP commands and read and write to arbitrary locations on the filesystem due to the lack of a well-written chroot jail in compose_abspath(). 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-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')"}]}]},"references":{"reference_data":[{"name":"https://github.com/troglobit/uftpd/security/advisories/GHSA-wmx8-v7mx-6x9h","refsource":"CONFIRM","url":"https://github.com/troglobit/uftpd/security/advisories/GHSA-wmx8-v7mx-6x9h"},{"name":"https://github.com/troglobit/uftpd/commit/455b47d3756aed162d2d0ef7f40b549f3b5b30fe","refsource":"MISC","url":"https://github.com/troglobit/uftpd/commit/455b47d3756aed162d2d0ef7f40b549f3b5b30fe"}]},"source":{"advisory":"GHSA-wmx8-v7mx-6x9h","discovery":"UNKNOWN"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/troglobit/uftpd/security/advisories/GHSA-wmx8-v7mx-6x9h","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/troglobit/uftpd/commit/455b47d3756aed162d2d0ef7f40b549f3b5b30fe","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T08:22:08.876Z"}}]}}}