{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2023-3348",
        "ASSIGNER": "cna@cloudflare.com",
        "STATE": "PUBLIC"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "The Wrangler command line tool\u00a0 (<=wrangler@3.1.0 or <=wrangler@2.20.1)\u00a0was affected by a directory traversal vulnerability when running a local development server for Pages (wrangler pages dev command). This vulnerability enabled an attacker in the same network as the victim to connect to the local development server and access the victim's files present outside of the directory for the development server.\n\n\n\n"
            }
        ]
    },
    "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": "Cloudflare",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "Wrangler",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "not down converted",
                                            "x_cve_json_5_version_data": {
                                                "versions": [
                                                    {
                                                        "changes": [
                                                            {
                                                                "at": "3.1.1",
                                                                "status": "unaffected"
                                                            }
                                                        ],
                                                        "lessThan": "3.1.1",
                                                        "status": "affected",
                                                        "version": "3",
                                                        "versionType": "semver"
                                                    },
                                                    {
                                                        "changes": [
                                                            {
                                                                "at": "2.20.1",
                                                                "status": "unaffected"
                                                            }
                                                        ],
                                                        "lessThan": "2.20.1",
                                                        "status": "affected",
                                                        "version": "2",
                                                        "versionType": "semver"
                                                    }
                                                ],
                                                "defaultStatus": "unaffected"
                                            }
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://github.com/cloudflare/workers-sdk/security/advisories/GHSA-8c93-4hch-xgxp",
                "refsource": "MISC",
                "name": "https://github.com/cloudflare/workers-sdk/security/advisories/GHSA-8c93-4hch-xgxp"
            },
            {
                "url": "https://github.com/cloudflare/workers-sdk",
                "refsource": "MISC",
                "name": "https://github.com/cloudflare/workers-sdk"
            },
            {
                "url": "https://developers.cloudflare.com/workers/wrangler/",
                "refsource": "MISC",
                "name": "https://developers.cloudflare.com/workers/wrangler/"
            }
        ]
    },
    "generator": {
        "engine": "Vulnogram 0.1.0-dev"
    },
    "source": {
        "discovery": "EXTERNAL"
    },
    "solution": [
        {
            "lang": "en",
            "supportingMedia": [
                {
                    "base64": false,
                    "type": "text/html",
                    "value": "Upgrade to wrangler@3.1.1 or higher<br>For wrangler v2 upgrade to wrangler@2.20.1 or higher"
                }
            ],
            "value": "Upgrade to wrangler@3.1.1 or higher\nFor wrangler v2 upgrade to wrangler@2.20.1 or higher"
        }
    ],
    "credits": [
        {
            "lang": "en",
            "value": "robocap42 (HackerOne researcher)"
        }
    ],
    "impact": {
        "cvss": [
            {
                "attackComplexity": "LOW",
                "attackVector": "ADJACENT_NETWORK",
                "availabilityImpact": "NONE",
                "baseScore": 5.7,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "NONE",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "REQUIRED",
                "vectorString": "CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N",
                "version": "3.1"
            }
        ]
    }
}