{
    "data_type": "CVE",
    "data_format": "MITRE",
    "data_version": "4.0",
    "CVE_data_meta": {
        "ID": "CVE-2020-27304",
        "ASSIGNER": "vuln@vdoo.com",
        "STATE": "PUBLIC"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "civetweb_project",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "civetweb",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "1.15",
                                            "version_affected": "!>="
                                        },
                                        {
                                            "version_value": "1.8",
                                            "version_affected": ">="
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-23"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "url": "https://jfrog.com/blog/cve-2020-27304-rce-via-directory-traversal-in-civetweb-http-server/",
                "refsource": "MISC",
                "name": "https://jfrog.com/blog/cve-2020-27304-rce-via-directory-traversal-in-civetweb-http-server/"
            },
            {
                "url": "https://groups.google.com/g/civetweb/c/yPBxNXdGgJQ",
                "refsource": "MISC",
                "name": "https://groups.google.com/g/civetweb/c/yPBxNXdGgJQ"
            },
            {
                "refsource": "CONFIRM",
                "name": "https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf",
                "url": "https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf"
            },
            {
                "refsource": "CONFIRM",
                "name": "https://cert-portal.siemens.com/productcert/pdf/ssa-222547.pdf",
                "url": "https://cert-portal.siemens.com/productcert/pdf/ssa-222547.pdf"
            }
        ]
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "The CivetWeb web library does not validate uploaded filepaths when running on an OS other than Windows, when using the built-in HTTP form-based file upload mechanism, via the mg_handle_form_request API. Web applications that use the file upload form handler, and use parts of the user-controlled filename in the output path, are susceptible to directory traversal"
            }
        ]
    }
}