Vulnerability · Published Dec 8, 2021 · Assigned by redhat
CVE-2021-4048
Critical 9.1
In plain English
A critical-severity out-of-bounds read in lapack. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.8% (higher than 86% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)9.1Critical
Exploit odds (30 days)2.8%top 13.6% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | openblas | 0.3.15-4.el8 | ALSA-2022:7639 |
| AlmaLinux:8 | openblas-Rblas | 0.3.15-4.el8 | ALSA-2022:7639 |
| AlmaLinux:8 | openblas-devel | 0.3.15-4.el8 | ALSA-2022:7639 |
| AlmaLinux:8 | openblas-openmp | 0.3.15-4.el8 | ALSA-2022:7639 |
| AlmaLinux:8 | openblas-openmp64 | 0.3.15-4.el8 | ALSA-2022:7639 |
| AlmaLinux:8 | openblas-openmp64_ | 0.3.15-4.el8 | ALSA-2022:7639 |
| AlmaLinux:8 | openblas-serial64 | 0.3.15-4.el8 | ALSA-2022:7639 |
| AlmaLinux:8 | openblas-serial64_ | 0.3.15-4.el8 | ALSA-2022:7639 |
| AlmaLinux:8 | openblas-static | 0.3.15-4.el8 | ALSA-2022:7639 |
| AlmaLinux:8 | openblas-threads | 0.3.15-4.el8 | ALSA-2022:7639 |
| AlmaLinux:8 | openblas-threads64 | 0.3.15-4.el8 | ALSA-2022:7639 |
| AlmaLinux:8 | openblas-threads64_ | 0.3.15-4.el8 | ALSA-2022:7639 |
| Debian:12 | lapack | 3.10.0-2 | DEBIAN-CVE-2021-4048 |
| Debian:13 | lapack | 3.10.0-2 | DEBIAN-CVE-2021-4048 |
| Debian:14 | lapack | 3.10.0-2 | DEBIAN-CVE-2021-4048 |
| Debian:12 | openblas | 0.3.18+ds-1 | DEBIAN-CVE-2021-4048 |
| Debian:13 | openblas | 0.3.18+ds-1 | DEBIAN-CVE-2021-4048 |
| Debian:14 | openblas | 0.3.18+ds-1 | DEBIAN-CVE-2021-4048 |
| Rocky Linux:8 | openblas | 0:0.3.15-4.el8 | RLSA-2022:7639 |
Affected products (as reported)
Weakness: CWE-125
References
- https://github.com/Reference-LAPACK/lapack/pull/625 x_refsource_MISC
- https://github.com/Reference-LAPACK/lapack/commit/38f3eeee3108b18158409ca2a100e6fe03754781 x_refsource_MISC
- https://github.com/JuliaLang/julia/issues/42415 x_refsource_MISC
- https://github.com/xianyi/OpenBLAS/commit/337b65133df174796794871b3988cd03426e6d41 x_refsource_MISC
- https://github.com/xianyi/OpenBLAS/commit/2be5ee3cca97a597f2ee2118808a2d5eacea050c x_refsource_MISC
- https://github.com/xianyi/OpenBLAS/commit/fe497efa0510466fd93578aaf9da1ad8ed4edbe7 x_refsource_MISC
- https://github.com/xianyi/OpenBLAS/commit/ddb0ff5353637bb5f5ad060c9620e334c143e3d7 x_refsource_MISC
- FEDORA-2021-0d4b58060d vendor-advisory, x_refsource_FEDORA
- FEDORA-2021-aec9d01057 vendor-advisory, x_refsource_FEDORA