CVEfocus › CVE database › CVE-2024-28335

CVE-2024-28335

CVSS 9.1 CriticalEPSS 1.1% (higher than 64% of CVEs)Published 2024-03-27Updated 2024-08-06Assigner: mitre

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.

CWE-22

What to do

Fixed builds are available from PyPI: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
2Under investigation
2Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 25.10lektorWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2024-28335
Ubuntu 24.04lektorUnder investigationUBUNTU-CVE-2024-28335
Ubuntu 22.04lektorUnder investigationUBUNTU-CVE-2024-28335
Ubuntu 20.04lektorWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2024-28335
PyPI librarylektorFixed3.4.0b11PYSEC-2024-49

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.