Mako: Path traversal via backslash URI on Windows in TemplateLookup
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| sqlalchemy | mako | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Sqlalchemy | Mako |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-2h4p-vjrc-8xpq | Mako vulnerable to path traversal via backslash URI on Windows in TemplateLookup |
No CVSS v3.1
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.742% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Sqlalchemy
Sqlalchemy mako |
|
| Vendors & Products |
Sqlalchemy
Sqlalchemy mako |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Mako is a template library written in Python. Prior to 1.3.12, on Windows, a URI using backslash traversal (e.g. \..\..\ secret.txt) bypasses the directory traversal check in Template.__init__ and the posixpath-based normalization in TemplateLookup.get_template(), allowing reads of files outside the configured template directory. This vulnerability is fixed in 1.3.12. | |
| Title | Mako: Path traversal via backslash URI on Windows in TemplateLookup | |
| Weaknesses | CWE-22 | |
| References |
| |
| Metrics |
cvssV4_0
|