From b5845bdec10e099ef2d0451b37387ed7878fded1 Mon Sep 17 00:00:00 2001 From: Robert Schultheis Date: Wed, 22 Jan 2020 11:44:44 -0700 Subject: [PATCH] add CVE-2020-5221 for GHSA-wmx8-v7mx-6x9h --- 2020/5xxx/CVE-2020-5221.json | 84 +++++++++++++++++++++++++++++++++--- 1 file changed, 77 insertions(+), 7 deletions(-) diff --git a/2020/5xxx/CVE-2020-5221.json b/2020/5xxx/CVE-2020-5221.json index d621245101a..17891b023bd 100644 --- a/2020/5xxx/CVE-2020-5221.json +++ b/2020/5xxx/CVE-2020-5221.json @@ -1,18 +1,88 @@ { - "data_type": "CVE", - "data_format": "MITRE", - "data_version": "4.0", "CVE_data_meta": { + "ASSIGNER": "security-advisories@github.com", "ID": "CVE-2020-5221", - "ASSIGNER": "cve@mitre.org", - "STATE": "RESERVED" + "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": "** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided." + "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" } -} \ No newline at end of file +}