{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2024-6717",
        "ASSIGNER": "security@hashicorp.com",
        "STATE": "PUBLIC"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "HashiCorp Nomad and Nomad Enterprise 1.6.12 up to 1.7.9, and 1.8.1 archive unpacking during migration is vulnerable to path escaping of the allocation directory. This vulnerability, CVE-2024-6717, is fixed in Nomad 1.6.13, 1.7.10, and 1.8.2."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-610: Externally Controlled Reference to a Resource in Another Sphere",
                        "cweId": "CWE-610"
                    }
                ]
            }
        ]
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "HashiCorp",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "Nomad",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "<",
                                            "version_name": "0",
                                            "version_value": "1.8.2"
                                        }
                                    ]
                                }
                            },
                            {
                                "product_name": "Nomad Enterprise",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "not down converted",
                                            "x_cve_json_5_version_data": {
                                                "versions": [
                                                    {
                                                        "changes": [
                                                            {
                                                                "at": "1.6.13",
                                                                "status": "unaffected"
                                                            },
                                                            {
                                                                "at": "1.7.10",
                                                                "status": "unaffected"
                                                            }
                                                        ],
                                                        "lessThan": "1.8.2",
                                                        "status": "affected",
                                                        "version": "0",
                                                        "versionType": "semver"
                                                    }
                                                ],
                                                "defaultStatus": "unaffected"
                                            }
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://discuss.hashicorp.com/t/hcsec-2024-15-nomad-vulnerable-to-allocation-directory-path-escape-through-archive-unpacking/68781",
                "refsource": "MISC",
                "name": "https://discuss.hashicorp.com/t/hcsec-2024-15-nomad-vulnerable-to-allocation-directory-path-escape-through-archive-unpacking/68781"
            }
        ]
    },
    "source": {
        "advisory": "HCSEC-2024-15",
        "discovery": "INTERNAL"
    },
    "impact": {
        "cvss": [
            {
                "baseScore": 7.7,
                "baseSeverity": "HIGH",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N",
                "version": "3.1"
            }
        ]
    }
}