{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2018-10897",
        "ASSIGNER": "secalert@redhat.com",
        "STATE": "PUBLIC"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "A directory traversal issue was found in reposync, a part of yum-utils, where reposync fails to sanitize paths in remote repository configuration files. If an attacker controls a repository, they may be able to copy files outside of the destination directory on the targeted system via path traversal. If reposync is running with heightened privileges on a targeted system, this flaw could potentially result in system compromise via the overwriting of critical system files. Version 1.1.31 and older are believed to be affected."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-59",
                        "cweId": "CWE-59"
                    }
                ]
            }
        ]
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "The RPM Project",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "yum-utils:",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "=",
                                            "version_value": "1.1.31"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://help.ecostruxureit.com/display/public/UADCE725/Security+fixes+in+StruxureWare+Data+Center+Expert+v7.6.0",
                "refsource": "MISC",
                "name": "https://help.ecostruxureit.com/display/public/UADCE725/Security+fixes+in+StruxureWare+Data+Center+Expert+v7.6.0"
            },
            {
                "url": "http://www.securitytracker.com/id/1041594",
                "refsource": "MISC",
                "name": "http://www.securitytracker.com/id/1041594"
            },
            {
                "url": "https://access.redhat.com/errata/RHSA-2018:2284",
                "refsource": "MISC",
                "name": "https://access.redhat.com/errata/RHSA-2018:2284"
            },
            {
                "url": "https://access.redhat.com/errata/RHSA-2018:2285",
                "refsource": "MISC",
                "name": "https://access.redhat.com/errata/RHSA-2018:2285"
            },
            {
                "url": "https://access.redhat.com/errata/RHSA-2018:2626",
                "refsource": "MISC",
                "name": "https://access.redhat.com/errata/RHSA-2018:2626"
            },
            {
                "url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10897",
                "refsource": "MISC",
                "name": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10897"
            },
            {
                "url": "https://github.com/rpm-software-management/yum-utils/commit/6a8de061f8fdc885e74ebe8c94625bf53643b71c",
                "refsource": "MISC",
                "name": "https://github.com/rpm-software-management/yum-utils/commit/6a8de061f8fdc885e74ebe8c94625bf53643b71c"
            },
            {
                "url": "https://github.com/rpm-software-management/yum-utils/commit/7554c0133eb830a71dc01846037cc047d0acbc2c",
                "refsource": "MISC",
                "name": "https://github.com/rpm-software-management/yum-utils/commit/7554c0133eb830a71dc01846037cc047d0acbc2c"
            },
            {
                "url": "https://github.com/rpm-software-management/yum-utils/pull/43",
                "refsource": "MISC",
                "name": "https://github.com/rpm-software-management/yum-utils/pull/43"
            }
        ]
    },
    "impact": {
        "cvss": [
            {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "HIGH",
                "baseScore": 8.8,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "REQUIRED",
                "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
                "version": "3.0"
            }
        ]
    }
}