A plain-language summary of this CVE is being written; the description below is the NVD's own text.
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.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
Weakness type
References
- github.com /jupyter/nbconvert/commit/ce4bd99aec31d81d759fa8eeb86431793…
- github.com /jupyter/nbconvert/releases/tag/v7.17.2
- github.com /jupyter/nbconvert/security/advisories/GHSA-pjvx-prjx-h659
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning