NumPyGHSA-fpfv-jqm9-f5jm
Incorrect Comparison in NumPy
Medium5.3CVE-2021-34141 · Published Dec 18, 2021 · updated Nov 8, 2023
Incomplete string comparison in the numpy.core component in NumPy1.9.x, which allows attackers to fail the APIs via constructing specific string objects.
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| numpy PyPI | < 1.22 | 1.22 |
Details and references
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- Severity from
- GitHub (reviewed advisory)
- Weakness
- CWE-697
- Also known as
- CVE-2021-34141, PYSEC-2021-855
- nvd.nist.gov/vuln/detail/CVE-2021-34141
- github.com/numpy/numpy/issues/18993
- github.com/numpy/numpy/issues/18993#issuecomment-1010735102
- github.com/advisories/GHSA-fpfv-jqm9-f5jm
- github.com/numpy/numpy
- github.com/pypa/advisory-database/tree/main/vulns/numpy/PYSEC-2021-855.yaml
- www.oracle.com/security-alerts/cpujul2022.html
More NumPy advisories
All NumPy| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| May 142022 | Arbitrary file write in NumPy | High5.5 | 1.8.1 |
| May 142022 | Numpy arbitrary file write via symlink attack | High5.5 | 1.8.1 |
| May 132022 | Numpy missing input validation | High7.5 | 1.13.3 |
| Feb 82022 | Buffer Copy without Checking Size of Input in NumPy | Medium5.5 | 1.19 |
| Feb 82022 | NumPy NULL Pointer Dereference | High7.5 | 1.19 |
| Jan 72022 | NumPy Buffer Overflow (Disputed) | Medium5.3 | 1.21 |