CVE-2021-4048
lapack: Out-of-bounds read in *larrv
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, Bitnami, CBL-Mariner, Julia, Photon OS. Rated lower by Red Hat (medium), AlmaLinux (medium), Amazon (medium), Oracle (medium), Rocky Linux (medium), Ubuntu (low).
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 and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| bitnami::Bitnami Vulnerability Database | openblas | 0.3.18 |
| CBL-Mariner 1.0 | lapack | 0:3.8.0-4.cm1 |
| CBL-Mariner 2.0 | lapack, openblas | 0:3.10.0-6.cm2 and 1 more |
| julia::Julia Ecosystem Security Advisories | LAPACK32_jll, LAPACK_jll, MadNLP and 6 more | 3.10.1+0 and 4 more |
| Photon OS 2.0 | lapack | 3.7.1-1.ph2 |
| Photon OS 3.0 | lapack | 3.8.0-2.ph3 |
| Photon OS 4.0 | lapack, lapack-devel | 3.9.0-2.ph4 |
| alma 8 | openblas, openblas-Rblas, openblas-devel and 9 more | 0.3.15-4.el8 |
| amazon linux 2022 | blas, blas-devel, blas-static and 7 more | 3.10.0-4.amzn2022.0.2 |
| debian 10 | lapack, openblas | no fix listed |
| debian 11 | lapack, openblas | no fix listed |
| debian 12 | lapack, openblas | 3.10.0-2 and 1 more |
Show all 143 entries from 23 sources
| Source | Package | Fixed in |
|---|---|---|
| bitnami::Bitnami Vulnerability Database | openblas | 0.3.18 |
| CBL-Mariner 1.0 | lapack | 0:3.8.0-4.cm1 |
| CBL-Mariner 2.0 | lapack | 0:3.10.0-6.cm2 |
| CBL-Mariner 2.0 | openblas | 0:0.3.21-1.cm2 |
| julia::Julia Ecosystem Security Advisories | LAPACK32_jll | 3.10.1+0 |
| julia::Julia Ecosystem Security Advisories | LAPACK_jll | 3.10.1+0 |
| julia::Julia Ecosystem Security Advisories | MadNLP | 0.2.0 |
| julia::Julia Ecosystem Security Advisories | MadNLPHSL | 0.4.0 |
| julia::Julia Ecosystem Security Advisories | MadNLPPardiso | no fix listed |
| julia::Julia Ecosystem Security Advisories | OpenBLAS32_jll | 0.3.20+0 |
| julia::Julia Ecosystem Security Advisories | OpenBLASHighCoreCount_jll | no fix listed |
| julia::Julia Ecosystem Security Advisories | OpenBLAS_jll | 0.3.20+0 |
| julia::Julia Ecosystem Security Advisories | libjulia_jll | 1.8.0+1 |
| Photon OS 2.0 | lapack | 3.7.1-1.ph2 |
| Photon OS 3.0 | lapack | 3.8.0-2.ph3 |
| Photon OS 4.0 | lapack | 3.9.0-2.ph4 |
| Photon OS 4.0 | lapack-devel | 3.9.0-2.ph4 |
| alma 8 | openblas | 0.3.15-4.el8 |
| alma 8 | openblas-Rblas | 0.3.15-4.el8 |
| alma 8 | openblas-devel | 0.3.15-4.el8 |
| alma 8 | openblas-openmp | 0.3.15-4.el8 |
| alma 8 | openblas-openmp64 | 0.3.15-4.el8 |
| alma 8 | openblas-openmp64_ | 0.3.15-4.el8 |
| alma 8 | openblas-serial64 | 0.3.15-4.el8 |
| alma 8 | openblas-serial64_ | 0.3.15-4.el8 |
| alma 8 | openblas-static | 0.3.15-4.el8 |
| alma 8 | openblas-threads | 0.3.15-4.el8 |
| alma 8 | openblas-threads64 | 0.3.15-4.el8 |
| alma 8 | openblas-threads64_ | 0.3.15-4.el8 |
| amazon linux 2022 | blas | 3.10.0-4.amzn2022.0.2 |
| amazon linux 2022 | blas-devel | 3.10.0-4.amzn2022.0.2 |
| amazon linux 2022 | blas-static | 3.10.0-4.amzn2022.0.2 |
| amazon linux 2022 | blas64 | 3.10.0-4.amzn2022.0.2 |
| amazon linux 2022 | blas64_ | 3.10.0-4.amzn2022.0.2 |
| amazon linux 2022 | lapack | 3.10.0-4.amzn2022.0.2 |
| amazon linux 2022 | lapack-devel | 3.10.0-4.amzn2022.0.2 |
| amazon linux 2022 | lapack-static | 3.10.0-4.amzn2022.0.2 |
| amazon linux 2022 | lapack64 | 3.10.0-4.amzn2022.0.2 |
| amazon linux 2022 | lapack64_ | 3.10.0-4.amzn2022.0.2 |
| debian 10 | lapack | no fix listed |
| debian 10 | openblas | no fix listed |
| debian 11 | lapack | no fix listed |
| debian 11 | openblas | no fix listed |
| debian 12 | lapack | 3.10.0-2 |
| debian 12 | openblas | 0.3.18+ds-1 |
| debian 13 | lapack | 3.10.0-2 |
| debian 13 | openblas | 0.3.18+ds-1 |
| debian 14 | lapack | 3.10.0-2 |
| debian 14 | openblas | 0.3.18+ds-1 |
| debian 9 | lapack | no fix listed |
| debian 9 | openblas | no fix listed |
| echo | lapack | 3.10.0-2 |
| echo | openblas | 0.3.18+ds-1 |
| Oracle Linux 8 | openblas | 0.3.15-4.el8 |
| Oracle Linux 8 | openblas-Rblas | 0.3.15-4.el8 |
| Oracle Linux 8 | openblas-devel | 0.3.15-4.el8 |
| Oracle Linux 8 | openblas-openmp | 0.3.15-4.el8 |
| Oracle Linux 8 | openblas-openmp64 | 0.3.15-4.el8 |
| Oracle Linux 8 | openblas-openmp64_ | 0.3.15-4.el8 |
| Oracle Linux 8 | openblas-serial64 | 0.3.15-4.el8 |
| Oracle Linux 8 | openblas-serial64_ | 0.3.15-4.el8 |
| Oracle Linux 8 | openblas-static | 0.3.15-4.el8 |
| Oracle Linux 8 | openblas-threads | 0.3.15-4.el8 |
| Oracle Linux 8 | openblas-threads64 | 0.3.15-4.el8 |
| Oracle Linux 8 | openblas-threads64_ | 0.3.15-4.el8 |
| rapidfort alma 8 | blas | no fix listed |
| rapidfort alma 8 | lapack | no fix listed |
| rapidfort alma 9 | blas | no fix listed |
| rapidfort alma 9 | lapack | no fix listed |
| Red Hat | blas | no fix listed |
| Red Hat | blas-devel | no fix listed |
| Red Hat | blas-static | no fix listed |
| Red Hat | blas64 | no fix listed |
| Red Hat | blas64-devel | no fix listed |
| Red Hat | blas64-static | no fix listed |
| Red Hat | blas64_ | no fix listed |
| Red Hat | ceph | no fix listed |
| Red Hat | ceph-base | no fix listed |
| Red Hat | ceph-common | no fix listed |
| Red Hat | ceph-fuse | no fix listed |
| Red Hat | ceph-grafana-dashboards | no fix listed |
| Red Hat | ceph-immutable-object-cache | no fix listed |
| Red Hat | ceph-mds | no fix listed |
| Red Hat | ceph-mgr | no fix listed |
| Red Hat | ceph-mgr-cephadm | no fix listed |
| Red Hat | ceph-mgr-dashboard | no fix listed |
| Red Hat | ceph-mgr-diskprediction-local | no fix listed |
| Red Hat | ceph-mgr-k8sevents | no fix listed |
| Red Hat | ceph-mgr-modules-core | no fix listed |
| Red Hat | ceph-mgr-rook | no fix listed |
| Red Hat | ceph-mib | no fix listed |
| Red Hat | ceph-mon | no fix listed |
| Red Hat | ceph-osd | no fix listed |
| Red Hat | ceph-prometheus-alerts | no fix listed |
| Red Hat | ceph-radosgw | no fix listed |
| Red Hat | ceph-resource-agents | no fix listed |
| Red Hat | ceph-selinux | no fix listed |
| Red Hat | ceph-test | no fix listed |
| Red Hat | cephadm | no fix listed |
| Red Hat | cephfs-mirror | no fix listed |
| Red Hat | cephfs-top | no fix listed |
| Red Hat | lapack | no fix listed |
| Red Hat | lapack-devel | no fix listed |
| Red Hat | lapack-static | no fix listed |
| Red Hat | lapack64 | no fix listed |
| Red Hat | lapack64-devel | no fix listed |
| Red Hat | lapack64-static | no fix listed |
| Red Hat | lapack64_ | no fix listed |
| Red Hat | libcephfs-devel | no fix listed |
| Red Hat | libcephfs1 | no fix listed |
| Red Hat | libcephfs1-devel | no fix listed |
| Red Hat | libcephfs2 | no fix listed |
| Red Hat | libcephsqlite | no fix listed |
| Red Hat | librados-devel | no fix listed |
| Red Hat | librados2 | no fix listed |
| Red Hat | librados2-devel | no fix listed |
| Red Hat | libradospp-devel | no fix listed |
| Red Hat | libradosstriper1 | no fix listed |
| Red Hat | librbd-devel | no fix listed |
| Red Hat | librbd1 | no fix listed |
| Red Hat | librbd1-devel | no fix listed |
| Red Hat | librgw-devel | no fix listed |
| Red Hat | librgw2 | no fix listed |
| Red Hat | librgw2-devel | no fix listed |
| Red Hat | python-ceph-argparse | no fix listed |
| Red Hat | python-cephfs | no fix listed |
| Red Hat | python-rados | no fix listed |
| Red Hat | python-rbd | no fix listed |
| Red Hat | python-rgw | no fix listed |
| Red Hat | python3-ceph-argparse | no fix listed |
| Red Hat | python3-ceph-common | no fix listed |
| Red Hat | python3-cephfs | no fix listed |
| Red Hat | python3-rados | no fix listed |
| Red Hat | python3-rbd | no fix listed |
| Red Hat | python3-rgw | no fix listed |
| Red Hat | rbd-mirror | no fix listed |
| Red Hat | rbd-nbd | no fix listed |
| rocky 8 | openblas | 0.3.15-4.el8 |
| rocky 8 | openblas-threads | 0.3.15-4.el8 |
| ubuntu 18.04-ESM | lapack | no fix listed |
| ubuntu 18.04-ESM | openblas | no fix listed |
| ubuntu 20.04-ESM | lapack | no fix listed |
| ubuntu 20.04-ESM | openblas | no fix listed |
References
- https://access.redhat.com/errata/RHSA-2022:7639
- https://access.redhat.com/security/cve/CVE-2021-4048
- https://bugzilla.redhat.com/2024358
- https://bugzilla.redhat.com/show_bug.cgi?id=2024358
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-4048
- https://errata.almalinux.org/8/ALSA-2022-7639.html
- https://errata.rockylinux.org/RLSA-2022:7639
- https://github.com/JuliaLang/julia/issues/42415
All 20 references
- 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://linux.oracle.com/cve/CVE-2021-4048.html
- https://linux.oracle.com/errata/ELSA-2022-7639.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6QFEVOCUG2UXMVMFMTU4ONJVDEHY2LW2/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DROZM4M2QRKSD6FBO4BHSV2QMIRJQPHT/
- https://nvd.nist.gov/vuln/detail/CVE-2021-4048
- https://www.cve.org/CVERecord?id=CVE-2021-4048