lektor
Affected
- introduced
0, fixed3.3.11(ecosystem)
Fixed versions
3.3.11
Fix
- Fixed version
3.3.11pip install --upgrade lektor==3.3.11
Advisory
Also known as: CVE-2024-28335, PYSEC-2024-49
Lektor does not sanitize database path traversal
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.
Critical Basis: The source's own band: CRITICAL
0, fixed 3.3.11 (ecosystem)3.3.11
3.3.11pip install --upgrade lektor==3.3.113.4.0b1, fixed 3.4.0b11 (ecosystem)3.4.0b11
3.4.0b11pip install --upgrade lektor==3.4.0b11Fix 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
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0