{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2020-36566",
        "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 22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')"
                    }
                ]
            }
        ]
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "github.com/whyrusleeping/tar-utils",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "github.com/whyrusleeping/tar-utils",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "<",
                                            "version_name": "0",
                                            "version_value": "0.0.0-20201201191210-20a61371de5b"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://github.com/whyrusleeping/tar-utils/commit/20a61371de5b51380bbdb0c7935b30b0625ac227",
                "refsource": "MISC",
                "name": "https://github.com/whyrusleeping/tar-utils/commit/20a61371de5b51380bbdb0c7935b30b0625ac227"
            },
            {
                "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-2021-0106",
                "refsource": "MISC",
                "name": "https://pkg.go.dev/vuln/GO-2021-0106"
            }
        ]
    }
}