CVEfocus › CVE database › CVE-2021-4048

CVE-2021-4048

EPSS 2.8% (higher than 87% of CVEs)Published 2021-12-08Updated 2024-08-03Assigner: redhat

An out-of-bounds read flaw was found in the CLARRV, DLARRV, SLARRV, and ZLARRV functions in lapack through version 3.10.0, as also used in OpenBLAS before version 0.3.18. Specially crafted inputs passed to these functions could cause an application using lapack to crash or possibly disclose portions of its memory.

CWE-125

What to do

Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

31Fixed
8Fix pending
32Will not fix
20Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04lapackNot affected
vulnerable_code_not_present
Ubuntu 26.04openblasNot affected
vulnerable_code_not_present
Ubuntu 25.10lapackNot affected
vulnerable_code_not_present
Ubuntu 25.10openblasNot affected
vulnerable_code_not_present
Ubuntu 24.04lapackNot affected
vulnerable_code_not_present
Ubuntu 24.04openblasNot affected
vulnerable_code_not_present
Ubuntu 22.04lapackNot affected
vulnerable_code_not_present
Ubuntu 22.04openblasNot affected
vulnerable_code_not_present
Ubuntu 20.04lapackFix pendingUBUNTU-CVE-2021-4048
Ubuntu 20.04openblasFix pendingUBUNTU-CVE-2021-4048
Ubuntu 18.04lapackFix pendingUBUNTU-CVE-2021-4048
Ubuntu 18.04openblasFix pendingUBUNTU-CVE-2021-4048
Ubuntu 16.04lapackFix pending
Ubuntu 16.04openblasFix pendingUBUNTU-CVE-2021-4048
Ubuntu 14.04lapackFix pending
Ubuntu 14.04openblasFix pendingUBUNTU-CVE-2021-4048
Debian 14lapackFixed3.10.0-2DEBIAN-CVE-2021-4048
Debian 14openblasFixed0.3.18+ds-1DEBIAN-CVE-2021-4048
Debian 13lapackFixed3.10.0-2DEBIAN-CVE-2021-4048
Debian 13openblasFixed0.3.18+ds-1DEBIAN-CVE-2021-4048
Debian 12lapackFixed3.10.0-2DEBIAN-CVE-2021-4048
Debian 12openblasFixed0.3.18+ds-1DEBIAN-CVE-2021-4048
Red Hat Enterprise Linux 9blasWill not fix
Will not fix
Red Hat Enterprise Linux 9blas-develWill not fix
Will not fix
Red Hat Enterprise Linux 9blas64Will not fix
Will not fix
Red Hat Enterprise Linux 9blas64_Will not fix
Will not fix
Red Hat Enterprise Linux 9lapackWill not fix
Will not fix
Red Hat Enterprise Linux 9lapack-develWill not fix
Will not fix
Red Hat Enterprise Linux 9lapack-staticWill not fix
Will not fix
Red Hat Enterprise Linux 9lapack64Will not fix
Will not fix
Red Hat Enterprise Linux 9lapack64_Will not fix
Will not fix
Red Hat Enterprise Linux 9openblasNot affected
Red Hat Enterprise Linux 9openblas-develNot affected
Red Hat Enterprise Linux 9openblas-openmpNot affected
Red Hat Enterprise Linux 9openblas-openmp64Not affected
Red Hat Enterprise Linux 9openblas-openmp64_Not affected
Red Hat Enterprise Linux 9openblas-serialNot affected
Red Hat Enterprise Linux 9openblas-serial64Not affected
Red Hat Enterprise Linux 9openblas-serial64_Not affected
Red Hat Enterprise Linux 9openblas-staticNot affected
Red Hat Enterprise Linux 9openblas-threadsNot affected
Red Hat Enterprise Linux 9openblas-threads64Not affected
Red Hat Enterprise Linux 9openblas-threads64_Not affected
Red Hat Enterprise Linux 8blasWill not fix
Will not fix
Red Hat Enterprise Linux 8blas-develWill not fix
Will not fix
Red Hat Enterprise Linux 8blas64Will not fix
Will not fix
Red Hat Enterprise Linux 8lapackWill not fix
Will not fix
Red Hat Enterprise Linux 8lapack-develWill not fix
Will not fix
Red Hat Enterprise Linux 8lapack-staticWill not fix
Will not fix
Red Hat Enterprise Linux 8lapack64Will not fix
Will not fix
Red Hat Enterprise Linux 8openblasFixed0:0.3.15-4.el8RHSA-2022:7639
Red Hat Enterprise Linux 8openblas-RblasFixed0:0.3.15-4.el8RHSA-2022:7639
Red Hat Enterprise Linux 8openblas-develFixed0:0.3.15-4.el8RHSA-2022:7639
Red Hat Enterprise Linux 8openblas-openmpFixed0:0.3.15-4.el8RHSA-2022:7639
Red Hat Enterprise Linux 8openblas-openmp64Fixed0:0.3.15-4.el8RHSA-2022:7639
Red Hat Enterprise Linux 8openblas-openmp64_Fixed0:0.3.15-4.el8RHSA-2022:7639
Red Hat Enterprise Linux 8openblas-serial64Fixed0:0.3.15-4.el8RHSA-2022:7639
Red Hat Enterprise Linux 8openblas-serial64_Fixed0:0.3.15-4.el8RHSA-2022:7639
Red Hat Enterprise Linux 8openblas-staticFixed0:0.3.15-4.el8RHSA-2022:7639
Red Hat Enterprise Linux 8openblas-threadsFixed0:0.3.15-4.el8RHSA-2022:7639
Red Hat Enterprise Linux 8openblas-threads64Fixed0:0.3.15-4.el8RHSA-2022:7639
Red Hat Enterprise Linux 8openblas-threads64_Fixed0:0.3.15-4.el8RHSA-2022:7639
Red Hat Enterprise Linux 7blasWill not fix
Out of support scope
Red Hat Enterprise Linux 7blas-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7blas-staticWill not fix
Out of support scope
Red Hat Enterprise Linux 7blas64Will not fix
Out of support scope
Red Hat Enterprise Linux 7blas64-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7blas64-staticWill not fix
Out of support scope
Red Hat Enterprise Linux 7lapackWill not fix
Out of support scope
Red Hat Enterprise Linux 7lapack-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7lapack-staticWill not fix
Out of support scope
Red Hat Enterprise Linux 7lapack64Will not fix
Out of support scope
Red Hat Enterprise Linux 7lapack64-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7lapack64-staticWill not fix
Out of support scope
Red Hat Enterprise Linux 6blasWill not fix
Out of support scope
Red Hat Enterprise Linux 6blas-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6lapackWill not fix
Out of support scope
Red Hat Enterprise Linux 6lapack-develWill not fix
Out of support scope
AlmaLinux 8openblasFixed0.3.15-4.el8ALSA-2022:7639
AlmaLinux 8openblas-RblasFixed0.3.15-4.el8ALSA-2022:7639
AlmaLinux 8openblas-develFixed0.3.15-4.el8ALSA-2022:7639
AlmaLinux 8openblas-openmpFixed0.3.15-4.el8ALSA-2022:7639
AlmaLinux 8openblas-openmp64Fixed0.3.15-4.el8ALSA-2022:7639
AlmaLinux 8openblas-openmp64_Fixed0.3.15-4.el8ALSA-2022:7639
AlmaLinux 8openblas-serial64Fixed0.3.15-4.el8ALSA-2022:7639
AlmaLinux 8openblas-serial64_Fixed0.3.15-4.el8ALSA-2022:7639
AlmaLinux 8openblas-staticFixed0.3.15-4.el8ALSA-2022:7639
AlmaLinux 8openblas-threadsFixed0.3.15-4.el8ALSA-2022:7639
AlmaLinux 8openblas-threads64Fixed0.3.15-4.el8ALSA-2022:7639
AlmaLinux 8openblas-threads64_Fixed0.3.15-4.el8ALSA-2022:7639
Rocky Linux 8openblasFixed0:0.3.15-4.el8RLSA-2022:7639

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.