Path traversal in coursevault-preview due to improper base-directory boundary validation
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| moritzmyrz | coursevault-preview | affected |
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Moritzmyrz | Coursevault-preview |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-9h9m-rr67-9jpg | coursevault-preview has a path traversal due to improper base-directory boundary validation |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.146% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:2.3:a:moritzmyrz:coursevault-preview:*:*:*:*:*:node.js:*:* |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Moritzmyrz
Moritzmyrz coursevault-preview |
|
| Vendors & Products |
Moritzmyrz
Moritzmyrz coursevault-preview |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | coursevault-preview is a utility for previewing course material files from a configured directory. coursevault-preview versions prior to 0.1.1 contain a path traversal vulnerability in the resolveSafe utility. The boundary check used String.prototype.startsWith(baseDir) on a normalized path, which does not enforce a directory boundary. An attacker who controls the relativePath argument to affected CoursevaultPreview methods may be able to read files outside the configured baseDir when a sibling directory exists whose name shares the same string prefix. This vulnerability is fixed in 0.1.1. | |
| Title | Path traversal in coursevault-preview due to improper base-directory boundary validation | |
| Weaknesses | CWE-22 | |
| References |
| |
| Metrics |
cvssV3_1
|