{"id":"CVE-2013-4251","aliases":["DEBIAN-CVE-2013-4251","DLA-26-1","EUVD-2019-0129","GHSA-xp76-357g-9wqq","MGASA-2013-0330","PYSEC-2019-156","UBUNTU-CVE-2013-4251"],"status":"published","title":"SciPy creates insecure temporary directories","description":"The scipy.weave component in SciPy before 0.12.1 creates insecure temporary directories.","severity":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.00427,"percentile":0.37216,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-269"],"published":"2013-11-20T20:22:27Z","modified":"2026-06-16T23:56:53Z","fixes":[{"ecosystem":"PyPI","package":"scipy","fixed_in":["0.12.1"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:6.0","package":"python-scipy","fixed_in":["0.7.2+dfsg1-1+deb6u1"],"sources":["osv"]},{"ecosystem":"Mageia:2","package":"python-scipy","fixed_in":["0.9.0-3.4.mga2"],"sources":["osv"]},{"ecosystem":"Mageia:3","package":"python-scipy","fixed_in":["0.9.0-7.3.mga3"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"scipy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.12.1"}]}]},{"source":"osv","ecosystem":"Debian:6.0","package":"python-scipy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.7.2+dfsg1-1+deb6u1"}]}],"versions":["0.7.2+dfsg1-1"]},{"source":"osv","ecosystem":"PyPI","package":"scipy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.12.1"}]}],"versions":["0.10.0","0.10.1","0.11.0","0.12.0","0.4.4","0.5.2","0.6.0","0.7.0","0.7.2","0.8.0","0.9.0"]},{"source":"osv","ecosystem":"Mageia:2","package":"python-scipy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.0-3.4.mga2"}]}]},{"source":"osv","ecosystem":"Mageia:3","package":"python-scipy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.0-7.3.mga3"}]}]},{"source":"osv","ecosystem":"PyPI","package":"scipy","ranges":[{"type":"GIT","events":[{"introduced":"0"},{"fixed":"bd296e0336420b840fcd2faabb97084fd252a973"}]},{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.12.1"}]}],"versions":["0.10.0","0.10.1","0.11.0","0.12.0","0.4.4","0.5.2","0.6.0","0.7.0","0.7.2","0.8.0","0.9.0","v0.12.0","v0.12.0rc1","v0.12.0b1","v0.1.2","v0.1.1","v0.1.0"]}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"fedoraproject","product":"fedora"},{"vendor":"redhat","product":"enterprise_linux"},{"vendor":"scipy","product":"scipy"}],"references":[{"url":"https://security-tracker.debian.org/tracker/CVE-2013-4251","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","web"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2013-4251","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Third Party Advisory","web","report"]},{"url":"https://bugzilla.suse.com/show_bug.cgi?id=CVE-2013-4251","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Third Party Advisory","web","report"]},{"url":"https://access.redhat.com/security/cve/cve-2013-4251","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","web"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2013-November/120696.html","tags":["x_refsource_MISC","x_transferred","Mailing List","Third Party Advisory","web"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2013-October/119759.html","tags":["x_refsource_MISC","x_transferred","Mailing List","Third Party Advisory","web"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2013-October/119771.html","tags":["x_refsource_MISC","x_transferred","Mailing List","Third Party Advisory","web"]},{"url":"http://www.securityfocus.com/bid/63008","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","VDB Entry","web"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/88052","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","VDB Entry","web"]},{"url":"https://github.com/scipy/scipy/commit/bd296e0336420b840fcd2faabb97084fd252a973","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","web","fix","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2013-4251","tags":["advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/scipy/PYSEC-2019-156.yaml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-xp76-357g-9wqq","tags":["advisory"]},{"url":"https://github.com/scipy/scipy","tags":["package"]},{"url":"https://advisories.mageia.org/MGASA-2013-0330.html","tags":["advisory"]},{"url":"https://lists.fedoraproject.org/pipermail/package-announce/2013-October/119771.html","tags":["web"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=11555","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2013-4251","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=916690","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2013-4251","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2013-4251","description":"The scipy.weave component in SciPy before 0.12.1 creates insecure temporary directories.","status":"published","published":"2019-11-04T19:21:42Z","modified":"2024-08-06T16:38:01.948Z","updated_at":"2026-11-02T14:34:58.193873Z"}],"euvd":[{"id":"EUVD-2019-0129","description":"The scipy.weave component in SciPy before 0.12.1 creates insecure temporary directories.","status":"published","published":"2019-11-04T19:21:42Z","modified":"2024-08-06T16:38:01Z","updated_at":"2026-11-03T01:56:32.187151Z"}],"ghsa":[{"id":"GHSA-xp76-357g-9wqq","title":"SciPy creates insecure temporary directories","description":"The `scipy.weave` component in SciPy before 0.12.1 creates insecure temporary directories.","status":"published","published":"2022-05-05T00:28:59Z","modified":"2024-10-22T16:44:16Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-269"],"updated_at":"2026-11-02T14:38:12.325695Z"}],"nvd":[{"id":"CVE-2013-4251","description":"The scipy.weave component in SciPy before 0.12.1 creates insecure temporary directories.","status":"published","published":"2019-11-04T20:15:09.887Z","modified":"2026-06-16T23:56:53.797Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":4.6,"vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-269"],"updated_at":"2026-11-02T14:02:52.545039Z"}],"osv":[{"id":"GHSA-xp76-357g-9wqq","title":"SciPy creates insecure temporary directories","description":"The `scipy.weave` component in SciPy before 0.12.1 creates insecure temporary directories.","status":"published","published":"2022-05-05T00:28:59Z","modified":"2024-10-22T17:10:52.066559Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-269"],"updated_at":"2026-11-02T15:47:00.198893Z"},{"id":"UBUNTU-CVE-2013-4251","description":"The scipy.weave component in SciPy before 0.12.1 creates insecure temporary directories.","status":"withdrawn","published":"2019-11-04T20:15:00Z","modified":"2025-07-16T07:31:20.620607Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:07.421078Z"},{"id":"DLA-26-1","title":"python-scipy - security update","status":"published","published":"2014-07-31T00:00:00Z","modified":"2026-03-09T01:22:04.076186Z","updated_at":"2026-11-02T15:46:10.712745Z"},{"id":"MGASA-2013-0330","title":"Updated python-scipy packages fix a security vulnerability and missing deps","description":"Updated python-scipy package fixes security vulnerability:\n\nscipy.weave will use /tmp/[username] as persistent storage (cache), but it\ndoes not check whether or not this directory already exists, does not check\nwhether it is a directory or a symlink, and also does not verify permissions\nor ownership, which could allow someone to place code in this directory that\nwould be executed as the user running scipy.weave (CVE-2013-4251).\n\nThe update also adds some missing dependencies.\n","status":"published","published":"2013-11-20T20:22:27Z","modified":"2026-04-16T06:25:04.702564654Z","updated_at":"2026-11-02T15:49:39.121227Z"},{"id":"PYSEC-2019-156","description":"The scipy.weave component in SciPy before 0.12.1 creates insecure temporary directories.","status":"published","published":"2019-11-04T20:15:00Z","modified":"2026-06-10T17:02:46.015942867Z","updated_at":"2026-11-02T15:52:52.192131Z"}]}}
