GHSA-wv28-7fpw-fj49

Suggest an improvement
Source
https://github.com/advisories/GHSA-wv28-7fpw-fj49
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/03/GHSA-wv28-7fpw-fj49/GHSA-wv28-7fpw-fj49.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-wv28-7fpw-fj49
Aliases
Published
2024-03-27T06:30:33Z
Modified
2024-08-06T19:04:12.138171Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
  • 9.3 (Critical) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
Lektor does not sanitize database path traversal
Details

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.

Database specific
{
    "nvd_published_at": "2024-03-27T06:15:19Z",
    "cwe_ids": [
        "CWE-22"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2024-03-27T21:59:55Z"
}
References

Affected packages

PyPI / lektor

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.3.11

Affected versions

0.*

0.96

1.*

1.0
1.1
1.2
1.2.1

2.*

2.0
2.1
2.2
2.3

3.*

3.0
3.0.1
3.1.0.dev1
3.1
3.1.1
3.1.2
3.1.3
3.2.dev0
3.2.0
3.2.1
3.2.2
3.2.3
3.3.0
3.3.1
3.3.2
3.3.3
3.3.4
3.3.5
3.3.6
3.3.7
3.3.8
3.3.9
3.3.10

PyPI / lektor

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.4.0b1
Fixed
3.4.0b11

Affected versions

3.*

3.4.0b1
3.4.0b2
3.4.0b3
3.4.0b4
3.4.0b5
3.4.0b6
3.4.0b7
3.4.0b8
3.4.0b9
3.4.0b10