5.3medium
Incorrect Comparison in NumPy
- Severity
- 5.3medium CVSS:3.1 by NVD
- Exploit likelihood
- 1.68% (higher than 77% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-fpfv-jqm9-f5jmPYSEC-2021-855
Description
An incomplete string comparison in the numpy.core component in NumPy before 1.22.0 allows attackers to trigger slightly incorrect copying by constructing specific string objects. NOTE: the vendor states that this reported code behavior is "completely harmless."
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| numpy (PyPI) | before 1.22, from 1.9.0 before 1.10.0 | GitHub Advisory Database, PyPA Advisory Database |
| numpy numpy | before 1.22.0 | NVD |
| oracle communications_cloud_native_core_policy | 22.1.3 | NVD |
All scores
| GitHub | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| NVD | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
An incomplete string comparison in the numpy.core component in NumPy before 1.22.0 allows attackers to trigger slightly incorrect copying by constructing specific string objects. NOTE: the vendor states that this reported code behavior is "completely harmless."
GitHub Advisory Database
Incomplete string comparison in the numpy.core component in NumPy1.9.x, which allows attackers to fail the APIs via constructing specific string objects.
NVD (es)
Una comparación incompleta de cadenas en el componente numpy.core en NumPy en versiones anteriores a la 1.22.0, permite a los atacantes activar una copia ligeramente incorrecta mediante la construcción de objetos de cadena específicos. NOTA: el proveedor afirma que este comportamiento de código reportado es "completamente inofensivo".
References
| https://github.com/numpy/numpy/issues/18993 | exploit, issue-tracking, patch, report, third-party-advisory, web | |
| https://www.oracle.com/security-alerts/cpujul2022.html | patch, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-34141 | advisory | |
| https://github.com/numpy/numpy/issues/18993#issuecomment-1010735102 | web | |
| https://github.com/advisories/GHSA-fpfv-jqm9-f5jm | advisory | |
| https://github.com/numpy/numpy | package | |
| https://github.com/pypa/advisory-database/tree/main/vulns/numpy/PYSEC-2021-855.yaml | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-34141 changed 2026-10-08 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-fpfv-jqm9-f5jm changed 2023-11-08 | CC-BY-4.0 |
| NVD | CVE-2021-34141 changed 2026-10-08 | Public domain |
| PyPA Advisory Database | PYSEC-2021-855 changed 2023-11-08 | CC-BY-4.0 |