Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. numpy
  4. ›
  5. CVE-2021-34141

CVE-2021-34141: Incorrect Comparison

December 17, 2021 (updated February 24, 2023)

Incomplete string comparison in the numpy.core allows attackers to fail the APIs via constructing specific string objects.

References

  • github.com/numpy/numpy/issues/18993
  • nvd.nist.gov/vuln/detail/CVE-2021-34141

Code Behaviors & Features

Detect and mitigate CVE-2021-34141 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.22.0

Fixed versions

  • 1.22.0

Solution

Upgrade to version 1.22.0 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-697: Incorrect Comparison

Source file

pypi/numpy/CVE-2021-34141.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:39 +0000.