Skip to content

PYSEC-2019-38

** DISPUTED ** An issue was discovered in NumPy 1.16.0 and earlier.

Not rated yet Withdrawn Mar 14, 2023 PyPI
Severity
Not rated yet
No source has published a CVSS score yet
Exploit chance (EPSS)
—
No score published
Known exploited
No
Not in CISA's catalog
Weakness
—
Not classified
Fix
1.16.1
Upgrade numpy to this version or later

Description

** DISPUTED ** An issue was discovered in NumPy 1.16.0 and earlier. It uses the pickle Python module unsafely, which allows remote attackers to execute arbitrary code via a crafted serialized object, as demonstrated by a numpy.load call. NOTE: third parties dispute this issue because it is a behavior that might have legitimate applications in (for example) loading serialized Python object arrays from trusted and authenticated sources.

Affected versions

PyPI

PackageVulnerableFixed in
numpy
< 1.16.1
1.16.1

How to fix

Move to the fixed version or later with your package manager, update the lockfile, and run your tests. If the package only arrives through another dependency, upgrade that dependency first. If none of its releases pulls a fixed version yet, force the version with your package manager's override.

numpy PyPI → 1.16.1

pip
pip install --upgrade "numpy>=1.16.1"
poetry
poetry add "numpy>=1.16.1"
uv
uv add "numpy>=1.16.1"

References

Timeline

  1. Published
  2. Last updated by the source
  3. Withdrawn
AdvisorySeverityWhy it's related
GHSA-f7c7-j99h-c22f
Buffer Copy without Checking Size of Input in NumPy
Medium Also affects numpy
GHSA-5545-2q6w-2gh6
NumPy NULL Pointer Dereference
High Also affects numpy
GHSA-fpfv-jqm9-f5jm
Incorrect Comparison in NumPy
Medium Also affects numpy
GHSA-6p56-wp2h-9hxr
NumPy Buffer Overflow (Disputed)
Medium Also affects numpy
GHSA-9fq2-x9r6-wfmf
Numpy Deserialization of Untrusted Data
Critical Also affects numpy
GHSA-cw6w-4rcx-xphc
Arbitrary file write in NumPy
Medium Also affects numpy
GHSA-2fc2-6r4j-p65h
Numpy arbitrary file write via symlink attack
Medium Also affects numpy
GHSA-frgw-fgh6-9g52
Numpy missing input validation
High Also affects numpy
Is this in your code?

MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.

Check your repos with MergeHarbor