CVE-2023-40274: getzola zola Path Traversal
Vulnerability summary
CVE-2023-40274 is a high (CVSS 7.5) Path Traversal vulnerability in getzola zola. EPSS estimates a 1.10% chance of exploitation in the next 30 days, higher than 65.1% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 0 · Related 2Timeline
- 14-08-2023PublishedVulnerability first disclosed.
- 09-10-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · WolfiEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- OSV · ChainguardEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- OSV · Crates.ioEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS trend
Probability
1.10%
Chance of exploitation in the next 30 days
Percentile
65%
Versus all other CVEs
30-day change
0.00 pp
From 1.10% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundZola
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Chainguard1 product
- zola< 0.17.2-r1
Crates.Io1 product
- zola≥ 0.13.0, ≤ 0.17.2
Getzola1 product
- zola≥ 0.13.0, ≤ 0.17.2
Wolfi1 product
- zola< 0.17.2-r1
4 vendors · 4 products
References
4 links- github.com/getzola/zolaPACKAGE