# CVE-2013-4251: PYSEC-2019-156 - The scipy.weave component in SciPy before 0.12.1 creates insecure temporary directories.

Source: https://junglewise.ai/threats/cve-2013-4251-scipy-creates-insecure-temporary-directories  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2019-11-04  
License: CC BY 4.0 with a link back

CVE-2013-4251 · Severity: low · CVSS 3.1 · Published 2019-11-04

The scipy.weave component in SciPy before 0.12.1 creates insecure temporary directories.

Technologies: [scipy (PyPI)](https://junglewise.ai/threats/technologies/scipy). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2013-4251 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2013-4251 being exploited in the wild.

**How severe is CVE-2013-4251?** Low severity, with a CVSS score of 3.1, published 4 November 2019.

**Which products and versions are affected?** scipy (PyPI) ECOSYSTEM:introduced=0,fixed=0.12.1, GIT:introduced=0,fixed=bd296e0336420b840fcd2faabb97084fd252a973|ECOSYSTEM:introduced=0,fixed=0.12.1.

**Is there a fix for CVE-2013-4251?** Yes. scipy (PyPI): upgrade to 0.12.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2013-4251?** Check whether you run scipy (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- scipy (PyPI): upgrade to 0.12.1 or later

  ```sh
  pip install "scipy>=0.12.1"
  ```


## Affected products

- scipy (PyPI) ECOSYSTEM:introduced=0,fixed=0.12.1, GIT:introduced=0,fixed=bd296e0336420b840fcd2faabb97084fd252a973|ECOSYSTEM:introduced=0,fixed=0.12.1

## Identifiers

- CVE-2013-4251
- GHSA-xp76-357g-9wqq
- PYSEC-2019-156

## Related threats

- [Withdrawn: Use after free in SciPy](https://junglewise.ai/threats/cve-2023-29824-withdrawn-use-after-free-in-scipy)
- [PYSEC-2023-102 - A refcounting issue which leads to potential memory leak was discovered in scipy commit 8627df31ab in Py_FindObjects() function.](https://junglewise.ai/threats/cve-2023-25399-withdrawn-scipy-memory-leak-vulnerability)
