CVE-2013-4251 SciPy creates insecure temporary directories

High 7.8 Published Updated

Insecure temporary directory creation in SciPy's weave component allows local attackers to escalate privileges or execute code.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2013-4251?

CVE-2013-4251 is a high-severity path traversal vulnerability in Debian Debian Linux, published on 4 Nov 2019. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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

Weakness: CWE-269

Which versions are affected by CVE-2013-4251?

3 open source packages ship an affected version, including scipy. It affects 4 products.

PackageAffectedFixed in
scipy PyPIAll versions0.12.1
scipy PyPIAll versions0.12.1
scipy PyPIAll versions0.12.1

Products include Debian Debian Linux, Fedoraproject Fedora, Redhat Enterprise Linux, Scipy Scipy.

How do I fix CVE-2013-4251?

Upgrade scipy to 0.12.1 or later.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2013-4251 being exploited?

There is no known exploitation of CVE-2013-4251 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as DLA-26-1, GHSA-xp76-357g-9wqq, MGASA-2013-0330, PYSEC-2019-156.

Is CVE-2013-4251 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free