nbconvert: File write via path traversal in cell output filenames
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| jupyter | nbconvert | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Jupyter | Nbconvert |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-pjvx-prjx-h659 | nbconvert: Arbitrary file write through path traversal in cell output filenames when exporting to md, latex, rst and asciidoc |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.455% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Jupyter
Jupyter nbconvert |
|
| Vendors & Products |
Jupyter
Jupyter nbconvert |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | The nbconvert tool, jupyter nbconvert, converts Jupyter notebooks to various other formats via Jinja templates. From 5.4.0 until 7.17.2, ExtractOutputPreprocessor in nbconvert/preprocessors/extractoutput.py joins the attacker-controlled cell output metadata filename to output_files_dir without limiting the result to the intended directory. When a victim converts a malicious notebook with the markdown, LaTeX, reStructuredText, or AsciiDoc exporter, path traversal in the output filename can write attacker-controlled output data to arbitrary locations accessible to the victim. Running the notebook cell again replaces the malicious output metadata, but merely converting the supplied notebook does not. This issue is fixed in version 7.17.2. | |
| Title | nbconvert: File write via path traversal in cell output filenames | |
| Weaknesses | CWE-22 | |
| References |
| |
| Metrics |
cvssV4_0
|