Description
IPython Notebook 0.12 through 1.x before 1.2 does not validate the origin of websocket requests, which allows remote attackers to execute arbitrary code by leveraging knowledge of the kernel id and a crafted page.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | ipython | 1.2.0~rc1-1 | — |
| Debian 13 | ipython | 1.2.0~rc1-1 | — |
| Debian 12 | ipython | 1.2.0~rc1-1 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | ipython | >= 0.12, < 1.2.0 | 1.2.0 | GHSA-75cw-5cgv-g853 |
References
- openSUSE-SU-2014:1060 vendor-advisory
- ipython-cve20143429-code-exec(94497) vdb-entry
- https://github.com/ipython/ipython/pull/4845
- https://bugzilla.redhat.com/show_bug.cgi?id=1119890
- http://advisories.mageia.org/MGASA-2014-0320.html
- http://lambdaops.com/cross-origin-websocket-hijacking-of-ipython
- [oss-security] 20140715 IPython Notebook Cross 2014-3429 mailing-list
- [ipython-dev] 20140713 Vulnerability in IPython Notebook ≤ 1.1 mailing-list
- MDVSA-2015:160 vendor-advisory