Skip to content
OpenAdvisories
High · 7.5 CVE-2023-40274 EUVD-2023-2384GHSA-xvv9-5j67-3rpq

zola Path Traversal vulnerability

Published Aug 14, 2023 · Updated Oct 9, 2024 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling zola 0.17.2-r1 —

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io zola >= 0.13.0, <= 0.17.2 — GHSA-xvv9-5j67-3rpq

References