First published: Wed Sep 02 2015(Updated: )
A flaw was found in IPython's notebook handling: Local folder name was used in HTML templates without escaping, allowing XSS in said pages by carefully crafting folder name and URL to access it. Original report: <a href="http://seclists.org/oss-sec/2015/q3/474">http://seclists.org/oss-sec/2015/q3/474</a> Upstream Patches: 3.x: <a href="https://github.com/ipython/ipython/commit/3ab41641cf6fce3860c73d5cf4645aa12e1e5892">https://github.com/ipython/ipython/commit/3ab41641cf6fce3860c73d5cf4645aa12e1e5892</a> 4.0.x: <a href="https://github.com/jupyter/notebook/commit/dd9876381f0ef09873d8c5f6f2063269172331e3">https://github.com/jupyter/notebook/commit/dd9876381f0ef09873d8c5f6f2063269172331e3</a> 4.x: <a href="https://github.com/jupyter/notebook/commit/35f32dd2da804d108a3a3585b69ec3295b2677ed">https://github.com/jupyter/notebook/commit/35f32dd2da804d108a3a3585b69ec3295b2677ed</a>
Credit: cve@mitre.org cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
redhat/ipython | <4.0.5 | 4.0.5 |
redhat/ipython | <4.1 | 4.1 |
redhat/ipython | <3.2.2 | 3.2.2 |
pip/ipython | <=3.2.1 | 3.2.2 |
pip/notebook | >=4.0.0<=4.0.4 | 4.0.5 |
Jupyter Notebook | =4.0.0 | |
Jupyter Notebook | =4.0.1 | |
Jupyter Notebook | =4.0.2 | |
Jupyter Notebook | =4.0.3 | |
Jupyter Notebook | =4.0.4 | |
Fedora | =21 | |
Fedora | =22 | |
Fedora | =23 | |
SUSE Linux | =13.1 | |
SUSE Linux | =13.2 | |
IPython | <=3.2.1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2015-6938 has a medium severity level due to its potential for Cross-Site Scripting (XSS) attacks.
To fix CVE-2015-6938, upgrade IPython to version 4.0.5 or later, or ensure that the notebook software is updated to version 4.0.5.
CVE-2015-6938 affects IPython versions up to 4.0.4 and Jupyter Notebook versions up to 4.0.4.
CVE-2015-6938 enables Cross-Site Scripting (XSS) attacks by allowing unescaped local folder names in HTML templates.
CVE-2015-6938 was reported by security researchers concerned with vulnerabilities in IPython's notebook handling.