{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2024-42471",
        "ASSIGNER": "security-advisories@github.com",
        "STATE": "PUBLIC"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "actions/artifact is the GitHub ToolKit for developing GitHub Actions.  Versions of `actions/artifact` before 2.1.7 are vulnerable to arbitrary file write when using `downloadArtifactInternal`, `downloadArtifactPublic`, or `streamExtractExternal` for extracting a specifically crafted artifact that contains path traversal filenames. Users are advised to upgrade to version 2.1.7 or higher. There are no known workarounds for this issue."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')",
                        "cweId": "CWE-22"
                    }
                ]
            }
        ]
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "actions",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "toolkit",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "=",
                                            "version_value": "< 2.1.7"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://github.com/actions/toolkit/security/advisories/GHSA-6q32-hq47-5qq3",
                "refsource": "MISC",
                "name": "https://github.com/actions/toolkit/security/advisories/GHSA-6q32-hq47-5qq3"
            },
            {
                "url": "https://github.com/actions/toolkit/pull/1724",
                "refsource": "MISC",
                "name": "https://github.com/actions/toolkit/pull/1724"
            },
            {
                "url": "https://snyk.io/research/zip-slip-vulnerability",
                "refsource": "MISC",
                "name": "https://snyk.io/research/zip-slip-vulnerability"
            }
        ]
    },
    "source": {
        "advisory": "GHSA-6q32-hq47-5qq3",
        "discovery": "UNKNOWN"
    },
    "impact": {
        "cvss": [
            {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "NONE",
                "baseScore": 7.3,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "REQUIRED",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N",
                "version": "3.1"
            }
        ]
    }
}