Mako: Path traversal via double-slash URI prefix 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.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Sqlalchemy | Mako |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-v92g-xgxw-vvmm | Mako: Path traversal via double-slash URI prefix in TemplateLookup |
Ubuntu USN |
USN-8234-1 | Mako vulnerability |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.361% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:2.3:a:sqlalchemy:mako:*:*:*:*:*:*:*:* | |
| Metrics |
cvssV3_1
|
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Sqlalchemy
Sqlalchemy mako |
|
| Vendors & Products |
Sqlalchemy
Sqlalchemy mako |
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Mako is a template library written in Python. Prior to 1.3.11, TemplateLookup.get_template() is vulnerable to path traversal when a URI starts with // (e.g., //../../../secret.txt). The root cause is an inconsistency between two slash-stripping implementations. Any file readable by the process can be returned as rendered template content when an application passes untrusted input directly to TemplateLookup.get_template(). This vulnerability is fixed in 1.3.11. | |
| Title | Mako: Path traversal via double-slash URI prefix in TemplateLookup | |
| Weaknesses | CWE-22 | |
| References |
| |
| Metrics |
cvssV4_0
|