What’s Vulnerable › Vulnerabilities
CVE-2021-4048
- Severity: critical (CVSS 9.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.8% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2021-12-08 · updated 2026-06-17
- Weakness: CWE-125
Description
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.
Affected products
- Fedoraproject Fedora: 34, 35
- Julialang Julia: through 1.6.3; 1.7.0-beta1, 1.7.0-beta2, 1.7.0-beta3, 1.7.0-beta4, 1.7.0-rc1
- Lapack Project Lapack: through 3.10.0
- Openblas Project Openblas: before 0.3.18 — fixed in 0.3.18
- Red Hat Ceph Storage: 2.0, 3.0, 4.0, 5.0
- Red Hat Enterprise Linux: 8.0
- RedHat Openshift Container Storage: 4.0
- Red Hat Openshift Data Foundation 4.22: 4.0
How to fix
Upgrade to a fixed version: Openblas Project Openblas 0.3.18. Check the vendor advisory for mitigations.
References
- https://github.com/JuliaLang/julia/issues/42415
- https://github.com/Reference-LAPACK/lapack/commit/38f3eeee3108b18158409ca2a100e6fe03754781
- https://github.com/Reference-LAPACK/lapack/pull/625
- https://github.com/xianyi/OpenBLAS/commit/2be5ee3cca97a597f2ee2118808a2d5eacea050c
- https://github.com/xianyi/OpenBLAS/commit/337b65133df174796794871b3988cd03426e6d41
- https://github.com/xianyi/OpenBLAS/commit/ddb0ff5353637bb5f5ad060c9620e334c143e3d7
- https://github.com/xianyi/OpenBLAS/commit/fe497efa0510466fd93578aaf9da1ad8ed4edbe7
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6QFEVOCUG2UXMVMFMTU4ONJVDEHY2LW2/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DROZM4M2QRKSD6FBO4BHSV2QMIRJQPHT/
- https://github.com/JuliaLang/julia/issues/42415
- https://github.com/Reference-LAPACK/lapack/commit/38f3eeee3108b18158409ca2a100e6fe03754781
- https://github.com/Reference-LAPACK/lapack/pull/625
Get alerted when CVE-2021-4048 or the next vulnerability affects your stack