{ "id": "CVE-2023-40274", "sourceIdentifier": "cve@mitre.org", "published": "2023-08-14T01:15:47.307", "lastModified": "2024-11-21T08:19:06.283", "vulnStatus": "Modified", "cveTags": [], "descriptions": [ { "lang": "en", "value": "An issue was discovered in zola 0.13.0 through 0.17.2. The custom implementation of a web server, available via the \"zola serve\" command, allows directory traversal. The handle_request function, used by the server to process HTTP requests, does not account for sequences of special path control characters (../) in the URL when serving a file, which allows one to escape the webroot of the server and read arbitrary files from the filesystem." } ], "metrics": { "cvssMetricV31": [ { "source": "nvd@nist.gov", "type": "Primary", "cvssData": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE" }, "exploitabilityScore": 3.9, "impactScore": 3.6 } ] }, "weaknesses": [ { "source": "nvd@nist.gov", "type": "Primary", "description": [ { "lang": "en", "value": "CWE-22" } ] } ], "configurations": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:a:getzola:zola:*:*:*:*:*:*:*:*", "versionStartIncluding": "0.13.0", "versionEndIncluding": "0.17.2", "matchCriteriaId": "046BF830-C166-436E-BB74-0468599AD03C" } ] } ] } ], "references": [ { "url": "https://github.com/getzola/zola/issues/2257", "source": "cve@mitre.org", "tags": [ "Exploit", "Issue Tracking", "Vendor Advisory" ] }, { "url": "https://github.com/getzola/zola/pull/2258", "source": "cve@mitre.org", "tags": [ "Patch" ] }, { "url": "https://github.com/getzola/zola/issues/2257", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": [ "Exploit", "Issue Tracking", "Vendor Advisory" ] }, { "url": "https://github.com/getzola/zola/pull/2258", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": [ "Patch" ] } ] }