{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2018-25046",
        "ASSIGNER": "security@golang.org",
        "STATE": "PUBLIC"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE 29: Path Traversal: \"\\..\\filename\""
                    }
                ]
            }
        ]
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "code.cloudfoundry.org/archiver",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "code.cloudfoundry.org/archiver/extractor",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "<",
                                            "version_name": "0",
                                            "version_value": "0.0.0-20180523222229-09b5706aa936"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://github.com/cloudfoundry/archiver/commit/09b5706aa9367972c09144a450bb4523049ee840",
                "refsource": "MISC",
                "name": "https://github.com/cloudfoundry/archiver/commit/09b5706aa9367972c09144a450bb4523049ee840"
            },
            {
                "url": "https://snyk.io/research/zip-slip-vulnerability",
                "refsource": "MISC",
                "name": "https://snyk.io/research/zip-slip-vulnerability"
            },
            {
                "url": "https://pkg.go.dev/vuln/GO-2020-0025",
                "refsource": "MISC",
                "name": "https://pkg.go.dev/vuln/GO-2020-0025"
            }
        ]
    }
}