Advisory

GHSA-xvv9-5j67-3rpq

Also known as: CVE-2023-40274

Summary

zola Path Traversal vulnerability

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2023-08-14 03:30 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

zola

crates.io · All systems

Affected

  • introduced 0.13.0, last affected 0.17.2 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences