{
    "data_type": "CVE",
    "data_format": "MITRE",
    "data_version": "4.0",
    "CVE_data_meta": {
        "ID": "CVE-2018-16858",
        "ASSIGNER": "secalert@redhat.com",
        "STATE": "PUBLIC"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "[UNKNOWN]",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "libreoffice",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "6.0.7"
                                        },
                                        {
                                            "version_value": "6.1.3"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-356"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "url": "https://www.libreoffice.org/about-us/security/advisories/cve-2018-16858/",
                "refsource": "MISC",
                "name": "https://www.libreoffice.org/about-us/security/advisories/cve-2018-16858/"
            },
            {
                "url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16858",
                "name": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16858",
                "refsource": "CONFIRM"
            },
            {
                "refsource": "MISC",
                "name": "http://packetstormsecurity.com/files/152560/LibreOffice-Macro-Code-Execution.html",
                "url": "http://packetstormsecurity.com/files/152560/LibreOffice-Macro-Code-Execution.html"
            },
            {
                "refsource": "MISC",
                "name": "http://www.rapid7.com/db/modules/exploit/multi/fileformat/libreoffice_macro_exec",
                "url": "http://www.rapid7.com/db/modules/exploit/multi/fileformat/libreoffice_macro_exec"
            },
            {
                "refsource": "EXPLOIT-DB",
                "name": "46727",
                "url": "https://www.exploit-db.com/exploits/46727/"
            },
            {
                "refsource": "REDHAT",
                "name": "RHSA-2019:2130",
                "url": "https://access.redhat.com/errata/RHSA-2019:2130"
            },
            {
                "refsource": "BUGTRAQ",
                "name": "20190815 [SECURITY] [DSA 4501-1] libreoffice security update",
                "url": "https://seclists.org/bugtraq/2019/Aug/28"
            },
            {
                "refsource": "SUSE",
                "name": "openSUSE-SU-2019:1929",
                "url": "http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00059.html"
            }
        ]
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "It was found that libreoffice before versions 6.0.7 and 6.1.3 was vulnerable to a directory traversal attack which could be used to execute arbitrary macros bundled with a document. An attacker could craft a document, which when opened by LibreOffice, would execute a Python method from a script in any arbitrary file system location, specified relative to the LibreOffice install location."
            }
        ]
    },
    "impact": {
        "cvss": [
            [
                {
                    "vectorString": "7.8/CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
                    "version": "3.0"
                }
            ]
        ]
    }
}