SecurityContext

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

IdName
CWE-697Incorrect Comparison

Public exploits

UrlSourceAdded date
https://github.com/numpy/numpy/issues/18993nvd2021-12-17

References

UrlSourceTags
https://github.com/numpy/numpy/issues/18993nvdExploit, Issue Tracking, Patch, Third Party Advisory
https://www.oracle.com/security-alerts/cpujul2022.htmlnvdPatch, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
numpy:numpy< 1.22.0nonvd/v1/products/numpy/numpy
oracle:communications_cloud_native_core_policy= 22.1.3nonvd/v1/products/oracle/communications_cloud_native_core_policy

Projects

RepositoryLink kindsIndexedUrl
numpy/numpyissues, packageyes/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