PyPA Advisory Database
PYSEC-2018-34
Details
(1) core/tests/test_memmap.py, (2) core/tests/test_multiarray.py, (3) f2py/f2py2e.py, and (4) lib/tests/test_io.py in NumPy before 1.8.1 allow local users to write to arbitrary files via a symlink attack on a temporary file.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | numpy | All versions before 1.8.1 (fixed in 1.8.1) |
References
- https://github.com/numpy/numpy/pull/4262
- https://github.com/numpy/numpy/commit/0bb46c1448b0d3f5453d5182a17ea7ac5854ee15
- https://github.com/numpy/numpy/blob/maintenance/1.8.x/doc/release/1.8.1-notes.rst
- https://exchange.xforce.ibmcloud.com/vulnerabilities/91317
- https://bugzilla.redhat.com/show_bug.cgi?id=1062009
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=737778
- http://www.securityfocus.com/bid/65440
- http://www.openwall.com/lists/oss-security/2014/02/08/3
- http://lists.fedoraproject.org/pipermail/package-announce/2014-February/128781.html
- http://lists.fedoraproject.org/pipermail/package-announce/2014-February/128358.html
- https://github.com/advisories/GHSA-2fc2-6r4j-p65h