CVE-2021-34141: NumPy - Incomplete String Comparison
- Cve: CVE-2021-34141
- Name: NumPy - Incomplete String Comparison
- 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."
- Impact: Attackers can cause incorrect copying, potentially leading to data corruption or unexpected behavior.
- Remediation: Update to NumPy 1.22.0 or later.
- Vulnerability impact: data_tampering
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.3
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- Epss score: 0.01679
- Epss percentile: 0.77519
- Assignee: [email protected]
- Published at: 2021-12-17T19:15:07Z
- Age in days: 1803
- Modified at: 2026-10-08T21:17:35Z
- Patch available: yes
- Public exploits total: 1
- References total: 2
- Products total: 2
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-34141
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: vulnerability type, requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-697 | Incorrect Comparison |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/numpy/numpy/issues/18993 | nvd | 2021-12-17 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/numpy/numpy/issues/18993 | nvd | Exploit, Issue Tracking, Patch, Third Party Advisory |
| https://www.oracle.com/security-alerts/cpujul2022.html | nvd | Patch, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| numpy:numpy | < 1.22.0 | no | nvd | /v1/products/numpy/numpy |
| oracle:communications_cloud_native_core_policy | = 22.1.3 | no | nvd | /v1/products/oracle/communications_cloud_native_core_policy |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| numpy/numpy | issues, package | yes | /v1/repositories/numpy/numpy |
Index
- Repositories: 4125
- Repositories high signal: 2402
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2021-12-17
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts