{
    "CVE_data_meta": {
        "ASSIGNER": "secalert@redhat.com",
        "ID": "CVE-2018-10916",
        "STATE": "PUBLIC"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "lftp",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "up to and including 4.8.3"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "[UNKNOWN]"
                }
            ]
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "It has been discovered that lftp up to and including version 4.8.3 does not properly sanitize remote file names, leading to a loss of integrity on the local system when reverse mirroring is used. A remote attacker may trick a user to use reverse mirroring on an attacker controlled FTP server, resulting in the removal of all files in the current working directory of the victim's system."
            }
        ]
    },
    "impact": {
        "cvss": [
            [
                {
                    "vectorString": "5.3/CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N",
                    "version": "3.0"
                }
            ]
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-20"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "https://github.com/lavv17/lftp/issues/452",
                "refsource": "CONFIRM",
                "url": "https://github.com/lavv17/lftp/issues/452"
            },
            {
                "name": "USN-3731-2",
                "refsource": "UBUNTU",
                "url": "https://usn.ubuntu.com/3731-2/"
            },
            {
                "name": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10916",
                "refsource": "CONFIRM",
                "url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10916"
            },
            {
                "name": "https://github.com/lavv17/lftp/commit/a27e07d90a4608ceaf928b1babb27d4d803e1992",
                "refsource": "CONFIRM",
                "url": "https://github.com/lavv17/lftp/commit/a27e07d90a4608ceaf928b1babb27d4d803e1992"
            },
            {
                "refsource": "SUSE",
                "name": "openSUSE-SU-2019:1059",
                "url": "http://lists.opensuse.org/opensuse-security-announce/2019-03/msg00036.html"
            },
            {
                "refsource": "SUSE",
                "name": "openSUSE-SU-2019:1110",
                "url": "http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00010.html"
            }
        ]
    }
}