ghsa-xvv9-5j67-3rpq
Vulnerability from github
Published
2023-08-14 03:30
Modified
2023-08-22 18:39
Severity ?
VLAI Severity ?
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.
{
"affected": [
{
"package": {
"ecosystem": "crates.io",
"name": "zola"
},
"ranges": [
{
"events": [
{
"introduced": "0.13.0"
},
{
"last_affected": "0.17.2"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2023-40274"
],
"database_specific": {
"cwe_ids": [
"CWE-22"
],
"github_reviewed": true,
"github_reviewed_at": "2023-08-14T21:33:07Z",
"nvd_published_at": "2023-08-14T01:15:47Z",
"severity": "HIGH"
},
"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.",
"id": "GHSA-xvv9-5j67-3rpq",
"modified": "2023-08-22T18:39:53Z",
"published": "2023-08-14T03:30:32Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2023-40274"
},
{
"type": "WEB",
"url": "https://github.com/getzola/zola/issues/2257"
},
{
"type": "WEB",
"url": "https://github.com/getzola/zola/pull/2258"
},
{
"type": "PACKAGE",
"url": "https://github.com/getzola/zola"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
"type": "CVSS_V3"
}
],
"summary": "zola Path Traversal vulnerability"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…