Critical Security Update for OpenBLAS: CVE-2021-4048 Vulnerability

openblas Updated 02 Oct 2025

Summary

16/09/2024
N/A
Yes i
Medium
5.9

RHSA-2022:7639: Red Hat Security Advisory: openblas security update. Affects openblas versions < 0:0.3.15-4.el8. Fixed in 0:0.3.15-4.el8. 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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

OpenBLAS is an optimized BLAS (Basic Linear Algebra Subprograms) library that provides high-performance matrix operations for scientific computing and data analysis. It is widely used in various applications, including machine learning and numerical simulations. The library is known for its efficiency and support for multi-threading, making it a popular choice among developers. However, it has recently been identified as vulnerable to a security issue that could potentially compromise the integrity of applications relying on it.

Vulnerability Detail

The vulnerability identified as CVE-2021-4048 affects OpenBLAS due to improper handling of certain inputs, which can lead to a denial of service (DoS) condition. This issue arises from the library's failure to adequately validate input data, allowing an attacker to exploit this flaw and cause the application to crash or become unresponsive. The ramifications of this vulnerability can be severe, especially for applications that rely heavily on OpenBLAS for computational tasks, as it may disrupt services and lead to data loss or corruption.

How To Fix

Minimum fixed version

0:0.3.15-4.el8

This is the first release that contains the fix.

sudo dnf update openblas

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

Workaround

As a temporary workaround, you can limit the input data to the OpenBLAS library to prevent triggering the vulnerability. Additionally, consider implementing input validation checks in your application to ensure that only safe and expected data is processed by OpenBLAS.

Conclusion

In summary, the OpenBLAS library has a critical vulnerability (CVE-2021-4048) that needs immediate attention. Users are advised to update to the patched version to mitigate risks associated with this security flaw. Implementing input validation and utilizing tools like Vulert can further enhance security measures.

See every vulnerability recorded for openblas →

Share this vulnerability

FAQ

CVE-2021-4048 is a security vulnerability in OpenBLAS that can lead to denial of service due to improper input handling.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

Failing to address this vulnerability may result in application crashes, service disruptions, and potential data loss.

Yes, the CVSS score for this vulnerability is 5.9, indicating a moderate level of severity.

Vulert is a service that monitors and alerts for open-source vulnerabilities in software using just a manifest file like package-lock.json.

Related vulnerabilities

Recent vulnerabilities recorded for openblas.

How To Fix

Minimum fixed version

0:0.3.15-4.el8

This is the first release that contains the fix.

sudo dnf update openblas

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