Critical Security Update for numpy Package: CVE-2021-41495

numpy Updated 02 Oct 2025

Summary

16/09/2024
N/A
Yes i
High
7.5

RHSA-2022:8852: Red Hat Security Advisory: Red Hat OpenStack Platform 16.2.4 (numpy) security update. Affects numpy versions < 1:1.17.0-11.el8ost. Fixed in 1:1.17.0-11.el8ost. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The numpy package is a fundamental library for numerical computing in Python, widely used for scientific and mathematical computations. It provides support for large, multi-dimensional arrays and matrices, along with a collection of mathematical functions to operate on these arrays. The vulnerability in question affects versions prior to 1:1.17.0-11.el8ost, potentially exposing applications to security risks.

Vulnerability Detail

CVE-2021-41495 is a security vulnerability identified in the numpy package, which could allow an attacker to exploit the library's functionality. The vulnerability arises from improper handling of certain inputs, leading to potential denial of service or other unintended behaviors. The ramifications of this vulnerability can be severe, as it may allow unauthorized access or manipulation of data, impacting the integrity and availability of applications relying on numpy.

How To Fix

Minimum fixed version

1:1.17.0-11.el8ost

This is the first release that contains the fix.

sudo dnf update numpy

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary measure, users can avoid using the affected features of the numpy package until the update is applied. However, it is strongly advised to implement the patch as soon as possible to mitigate any security risks.

Conclusion

The numpy package has a critical vulnerability (CVE-2021-41495) that requires immediate attention. Users are advised to update to the patched version to ensure the security and integrity of their applications. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.

See every vulnerability recorded for numpy →

Share this vulnerability

FAQ

CVE-2021-41495 is a security vulnerability in the numpy package that could lead to denial of service or other unintended behaviors.

You can check if your application is affected by using the Vulert playground at Vulert Scanner, which allows you to monitor open-source vulnerabilities without requiring access to the code.

Not addressing this vulnerability could expose your application to security risks, including unauthorized access and data manipulation.

Yes, Vulert provides a service that monitors and alerts for open-source vulnerabilities in your software using a manifest file like package-lock.json.

The CVSS score for CVE-2021-41495 is 7.5, indicating a high severity level.

Related vulnerabilities

Recent vulnerabilities recorded for numpy.

How To Fix

Minimum fixed version

1:1.17.0-11.el8ost

This is the first release that contains the fix.

sudo dnf update numpy

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback