Craft CMS 5.0.0-RC1 before 5.10.6 Path Traversal via ensurePathIsContained
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| craftcms | cms | unaffected |
|
|||||||||
| craftcms | cms | unaffected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Craftcms | Craft Cms |
|
||||||||||||
| Craftcms | Craft Cms |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-7hxc-f267-h5q7 | Craft CMS: Incorrect path validation could potentially lead to path traversal |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.197% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Craft CMS versions >= 5.0.0-RC1 before 5.10.6 and >= 4.0.0-RC1 before 4.18.2 contain a theoretical path traversal weakness in the ensurePathIsContained function of the Local file system class. The order of operations validates the path before normalization, so normalization could invalidate prior validation assumptions (a desanitization-style issue) and potentially resolve to files outside the intended volume directory. The vendor notes the issue is not directly exploitable and no exploitable scenario has been discovered; the fix is recommended for hardening. | |
| Title | Craft CMS 5.0.0-RC1 before 5.10.6 Path Traversal via ensurePathIsContained | |
| First Time appeared |
Craftcms
Craftcms craft Cms |
|
| Weaknesses | CWE-22 | |
| CPEs | cpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Craftcms
Craftcms craft Cms |
|
| References |
| |
| Metrics |
cvssV3_1
|