{"id":"CVE-2015-5607","aliases":["DEBIAN-CVE-2015-5607","EUVD-2017-0064","GHSA-7fc2-rm35-2pp7","MGASA-2015-0300","PYSEC-2017-47","UBUNTU-CVE-2015-5607","USN-5953-1"],"status":"published","title":"IPython vulnerable to cross site request forgery (CSRF)","description":"Cross-site request forgery in the REST API in IPython 2 and 3.","severity":{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.01211,"percentile":0.68641,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-352"],"published":"2015-08-03T20:55:18Z","modified":"2026-09-09T07:01:27Z","fixes":[{"ecosystem":"PyPI","package":"ipython","fixed_in":["2.4.1","3.2.3","3.2.1"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"ipython","fixed_in":["2.4.1-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"ipython","fixed_in":["2.4.1-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"ipython","fixed_in":["2.4.1-1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:14.04:LTS","package":"ipython","fixed_in":["1.2.1-2ubuntu0.1~esm1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"ipython","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.12"},{"fixed":"2.4.1"}]}]},{"source":"ghsa","ecosystem":"PyPI","package":"ipython","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"3.2.3"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"ipython","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.1-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"ipython","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.1-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"ipython","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.1-1"}]}]},{"source":"osv","ecosystem":"PyPI","package":"ipython","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.12"},{"fixed":"2.4.1"}]}],"versions":["0.12","0.12.1","0.13","0.13.1","0.13.2","1.0.0","1.1.0","1.2.0","1.2.1","2.0.0","2.1.0","2.2.0","2.3.0","2.3.1","2.4.0"]},{"source":"osv","ecosystem":"PyPI","package":"ipython","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"3.2.3"}]}],"versions":["3.0.0","3.1.0","3.2.0","3.2.1","3.2.2"]},{"source":"osv","ecosystem":"Mageia:4","package":"ipython","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.0-1.mga4"}]}],"bundled":2},{"source":"osv","ecosystem":"Mageia:5","package":"ipython","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.0-2.2.mga5"}]}],"bundled":2},{"source":"osv","ecosystem":"PyPI","package":"ipython","ranges":[{"type":"GIT","events":[{"introduced":"0"},{"fixed":"a05fe052a18810e92d9be8c1185952c13fe4e5b0"},{"fixed":"1415a9710407e7c14900531813c15ba6165f0816"}]},{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.1"}]}],"versions":["0.10","0.10.1","0.10.2","0.11","0.12","0.12.1","0.13","0.13.1","0.13.2","0.6.10","0.6.11","0.6.12","0.6.13","0.6.14","0.6.15","0.6.4","0.6.5","0.6.6","0.6.7","0.6.8","0.6.9","0.7.0","0.7.1","0.7.1.fix1","0.7.2","0.7.3","0.7.4.svn.r2010","0.8.0","0.8.1","0.8.2","0.8.3","0.8.4","0.9","0.9.1","1.0.0","1.1.0","1.2.0","1.2.1","2.0.0","2.1.0","2.2.0","2.3.0","2.3.1","2.4.0","2.4.1","3.0.0","3.1.0","3.2.0"]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"ipython","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.1-2ubuntu0.1~esm1"}]}],"versions":["0.13.2-2","1.1.0-1","1.2.0~rc1-1","1.2.1-2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"ipython","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.1-2ubuntu0.1~esm1"}]}],"versions":["0.13.2-2","1.1.0-1","1.2.0~rc1-1","1.2.1-2"],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"ipython","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.5.0-1ubuntu0.1~esm1"}]}],"versions":["5.1.0-3","5.5.0-1"],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"ipython","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.13.0-1ubuntu0.1~esm1"}]}],"versions":["5.8.0-1","5.8.0-1build1","5.8.0-2","7.12.0-1","7.13.0-1"],"bundled":2}],"products":[{"vendor":"fedoraproject","product":"fedora"},{"vendor":"ipython","product":"ipython"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1243842","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Patch","fix","report","web"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2015-July/162671.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","Issue Tracking","Third Party Advisory","advisory","report","web"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2015-July/162936.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","Issue Tracking","Third Party Advisory","advisory","report","web"]},{"url":"https://github.com/ipython/ipython/commit/1415a9710407e7c14900531813c15ba6165f0816","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory","advisory","fix","web"]},{"url":"https://github.com/ipython/ipython/commit/a05fe052a18810e92d9be8c1185952c13fe4e5b0","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory","advisory","fix","web"]},{"url":"http://www.openwall.com/lists/oss-security/2015/07/21/3","tags":["mailing-list","x_refsource_MLIST","x_transferred","Exploit","Mailing List","Patch","Third Party Advisory","advisory","article","evidence","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2015-5607","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-7fc2-rm35-2pp7","tags":["advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/ipython/PYSEC-2017-47.yaml","tags":["web"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2015-5607","tags":["advisory"]},{"url":"https://github.com/ipython/ipython","tags":["package"]},{"url":"https://advisories.mageia.org/MGASA-2015-0300.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=16183","tags":["report"]},{"url":"http://openwall.com/lists/oss-security/2015/06/22/7","tags":["web"]},{"url":"http://openwall.com/lists/oss-security/2015/07/12/4","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2015-5607","tags":["report"]},{"url":"http://www.openwall.com/lists/oss-security/2015/07/12/4","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-5953-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2015-5607","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2022-21699","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2015-5607","description":"Cross-site request forgery in the REST API in IPython 2 and 3.","status":"published","published":"2017-09-20T16:00:00Z","modified":"2024-08-06T06:50:03.292Z","updated_at":"2026-11-02T14:35:39.846011Z"}],"euvd":[{"id":"EUVD-2017-0064","description":"Cross-site request forgery in the REST API in IPython 2 and 3.","status":"published","published":"2017-09-20T16:00:00Z","modified":"2024-08-06T06:50:03Z","updated_at":"2026-11-03T02:21:59.31515Z"}],"ghsa":[{"id":"GHSA-7fc2-rm35-2pp7","title":"IPython vulnerable to cross site request forgery (CSRF)","description":"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.","status":"published","published":"2022-05-17T00:35:13Z","modified":"2024-09-27T15:40:37Z","cvss":[{"version":"4.0","score":8.6,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","level":"high"},{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-352"],"updated_at":"2026-11-02T14:38:06.988799Z"}],"nvd":[{"id":"CVE-2015-5607","description":"Cross-site request forgery in the REST API in IPython 2 and 3.","status":"published","published":"2017-09-20T16:29:00.753Z","modified":"2026-06-17T00:29:26.457Z","cvss":[{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-352"],"updated_at":"2026-11-02T14:03:19.244941Z"}],"osv":[{"id":"CVE-2015-5607","description":"Cross-site request forgery in the REST API in IPython 2 and 3.","status":"published","published":"2017-09-20T16:29:00Z","modified":"2026-04-16T06:23:01.192507256Z","cvss":[{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:00.594921Z"},{"id":"DEBIAN-CVE-2015-5607","description":"Cross-site request forgery in the REST API in IPython 2 and 3.","status":"published","published":"2017-09-20T16:29:00.753Z","modified":"2026-09-09T07:01:27.998255253Z","cvss":[{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:26.752992Z"},{"id":"GHSA-7fc2-rm35-2pp7","title":"IPython vulnerable to cross site request forgery (CSRF)","description":"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.","status":"published","published":"2022-05-17T00:35:13Z","modified":"2024-09-27T16:02:05.372096Z","cvss":[{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"},{"version":"4.0","score":8.6,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","level":"high"}],"cwes":["CWE-352"],"updated_at":"2026-11-02T15:46:41.002603Z"},{"id":"UBUNTU-CVE-2015-5607","description":"Cross-site request forgery in the REST API in IPython 2 and 3.","status":"published","published":"2017-09-20T16:29:00Z","modified":"2026-02-04T03:20:00.091252Z","cvss":[{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:10.385269Z"},{"id":"MGASA-2015-0300","title":"Updated ipython package fixes security vulnerability","description":"JSON error responses from the IPython notebook REST API contained\nURL parameters and were incorrectly reported as text/html instead of\napplication/json. The error messages included some of these URL params,\nresulting in a cross site scripting attack (CVE-2015-4707).\n\nPOST requests exposed via the IPython REST API are vulnerable to\ncross-site request forgery (CSRF). Web pages on different domains can make\nnon-AJAX POST requests to known IPython URLs, and IPython will honor them.\nThe user's browser will automatically send IPython cookies along with the\nrequests. The response is blocked by the Same-Origin Policy, but the\nrequest isn't (CVE-2015-5607).\n\nThe Mageia 5 package has been patched to fix these issues.  The Mageia 4\npackage wasn't vulnerable to CVE-2015-4707, but it has been updated and\npatched to fix CVE-2015-5607.\n","status":"published","published":"2015-08-03T20:55:18Z","modified":"2026-04-16T06:24:24.734065966Z","updated_at":"2026-11-02T15:49:39.792687Z"},{"id":"PYSEC-2017-47","description":"Cross-site request forgery in the REST API in IPython 2 and 3.","status":"published","published":"2017-09-20T16:29:00Z","modified":"2023-11-08T03:57:58.412599Z","updated_at":"2026-11-02T15:52:51.645172Z"},{"id":"USN-5953-1","title":"ipython vulnerabilities","description":"It was discovered that IPython incorrectly processed REST API POST requests.\nAn attacker could possibly use this issue to launch a cross-site request\nforgery (CSRF) attack and leak user's sensitive information. This issue\nonly affected Ubuntu 14.04 ESM. (CVE-2015-5607)\n\nIt was discovered that IPython did not properly manage cross user temporary\nfiles. A local attacker could possibly use this issue to execute arbitrary\ncode. This issue only affected Ubuntu 18.04 ESM and Ubuntu 20.04 ESM.\n(CVE-2022-21699)\n","status":"published","published":"2023-03-15T09:54:07Z","modified":"2026-06-29T13:50:50.127373027Z","updated_at":"2026-11-02T16:58:16.738762Z"}]}}
