GitHub Advisoryadvisory · PyPI

GHSA-wv28-7fpw-fj49 Lektor does not sanitize database path traversal

CRITICAL Published 2024-03-27 Modified 2024-08-06 Official page ↗
Aliases
CVE-2024-28335
Ecosystem
PyPI
Packages
Lektor
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Weaknesses
CWE-22
Reviewed
2024-03-27

Affected packages

• PyPI Lektor: < 3.3.11 → fixed in 3.3.11 • PyPI Lektor: >= 3.4.0b1, < 3.4.0b11 → fixed in 3.4.0b11

Description

Lektor before 3.3.11 does not sanitize DB path traversal. Thus, shell commands might be executed via a file that is added to the templates directory, if the victim's web browser accesses an untrusted website that uses JavaScript to send requests to localhost port 5000, and the web browser is running on the same machine as the "lektor server" command.

Related

Alias · CVE (1)

  • CVE-2024-28335 Lektor before 3.3.11 does not sanitize DB path traversal. vulnerability

Weakness · CWE (1)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

References