MediumGHSA-fpfv-jqm9-f5jmCVE-2021-34141PYSEC-2021-855
Incorrect Comparison in NumPy
Published 18 Dec 2021 · Updated 8 Nov 2023
Is your project on an affected numpy?
Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected package
numpyPyPI
- Affected
- <1.22
- Fixed in
- 1.22
Update to the fixed version for your release line, for example:
pip install 'numpy>=1.22'Details
Incomplete string comparison in the numpy.core component in NumPy1.9.x, which allows attackers to fail the APIs via constructing specific string objects.
Is GHSA-fpfv-jqm9-f5jm in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected numpy, and gives you the command that fixes it.
More advisories for numpy
- CriticalCVE-2019-6446Numpy Deserialization of Untrusted Data · 24 May 2022
- HighCVE-2014-1858Arbitrary file write in NumPy · 14 May 2022
- HighCVE-2014-1859Numpy arbitrary file write via symlink attack · 14 May 2022
- HighCVE-2017-12852Numpy missing input validation · 13 May 2022
- HighCVE-2021-41495NumPy NULL Pointer Dereference · 8 Feb 2022
- MediumCVE-2021-41496Buffer Copy without Checking Size of Input in NumPy · 8 Feb 2022
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2021-34141
- Linkgithub.com/numpy/numpy/issues/18993
- Linkgithub.com/numpy/numpy/issues/18993#issuecomment-1010735102
- Advisorygithub.com/advisories/GHSA-fpfv-jqm9-f5jm
- Packagegithub.com/numpy/numpy
- Linkgithub.com/pypa/advisory-database/tree/main/vulns/numpy/PYSEC-2021-855.yaml
- Linkwww.oracle.com/security-alerts/cpujul2022.html
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.