CVE-2015-5607: CSRF
Cross-site request forgery in the REST API in IPython 2 and 3.
Other sources
IPython (Interactive Python) is a command shell. Cross-site request forgery in the REST API is possible in in IPython 2 and 3. Versions 2.4.1 and 3.2.3 contain patches.
— GitHub
POST requests exposed via the IPython REST API are vulnerable to cross-site request forgery (CSRF). Web pages on different domains can make non-AJAX POST requests to known IPython URLs, and IPython will honor them. The user's browser will automatically send IPython cookies along with the requests. The response is blocked by the Same-Origin Policy, but the request isn't.
API paths with issues:
POST /api/contents/<path>/<file> POST /api/contents/<path>/<file>/checkpoints POST /api/contents/<path>/<file>/checkpoints/<checkpointid> POST /api/kernels POST /api/kernels/<kernelid>/<action> POST /api/sessions POST /api/clusters/<clusterid>/<action>
Upstream fixes: 2.x: https://github.com/ipython/ipython/commit/a05fe052a18810e92d9be8c1185952c13fe4e5b0 3.x: https://github.com/ipython/ipython/commit/1415a9710407e7c14900531813c15ba6165f0816
CVE request: http://seclists.org/oss-sec/2015/q3/92
— Red Hat
Affected Software
Remediation
Patch Available
Patch Available
Event History
Frequently Asked Questions
What is the severity of CVE-2015-5607?
CVE-2015-5607 has been classified as a medium severity vulnerability.
How do I fix CVE-2015-5607?
To fix CVE-2015-5607, upgrade to IPython version 2.4.1 or 3.2.3 or later.
Which versions of IPython are affected by CVE-2015-5607?
IPython versions 2.0.0 through 2.4.0 and 3.0.0 through 3.2.2 are affected by CVE-2015-5607.
What type of vulnerability is CVE-2015-5607?
CVE-2015-5607 is classified as a cross-site request forgery (CSRF) vulnerability.
Can I continue using IPython versions before 2.4.1 and 3.2.3?
Using IPython versions before 2.4.1 and 3.2.3 poses security risks due to the vulnerability identified in CVE-2015-5607.