Advisories

Jupyter nbconvert 7.17.1 through 7.17.2 Arbitrary File Read via embed_images Symlink Bypass

Go back
Severity
high
Date
Affecting
  • nbconvert >= 7.17.1, <= 7.17.2

CWE
  • CWE-59 Improper Link Resolution Before File Access ('Link Following')
CVSS
7.1
CVSS V4 Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Credit
Zachariah Mithani (AploSec)
Description
Jupyter nbconvert 7.17.1 through 7.17.2 contains a path traversal vulnerability that allows attackers to read files by bypassing the IPythonRenderer._src_to_base64 containment check with symbolic links. Attackers can supply a notebook directory containing a symlinked image so HTMLExporter with embed_images base64-embeds files readable by the converting user into generated HTML.

Ready to get Started?

Explore VulnCheck, a next-generation Cyber Threat Intelligence platform, which provides exploit and vulnerability intelligence to help you prioritize and remediate vulnerabilities that matter.
  • Vulnerability Prioritization
    Prioritize vulnerabilities that matter based on the threat landscape and defer vulnerabilities that don't.
  • Early Warning System
    Real-time alerting of changes in the vulnerability landscape so that you can take action before the attacks start.