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

EcosystemPackageFixed inAdvisory
AlmaLinux:8openblas0.3.15-4.el8ALSA-2022:7639
AlmaLinux:8openblas-Rblas0.3.15-4.el8ALSA-2022:7639
AlmaLinux:8openblas-devel0.3.15-4.el8ALSA-2022:7639
AlmaLinux:8openblas-openmp0.3.15-4.el8ALSA-2022:7639
AlmaLinux:8openblas-openmp640.3.15-4.el8ALSA-2022:7639
AlmaLinux:8openblas-openmp64_0.3.15-4.el8ALSA-2022:7639
AlmaLinux:8openblas-serial640.3.15-4.el8ALSA-2022:7639
AlmaLinux:8openblas-serial64_0.3.15-4.el8ALSA-2022:7639
AlmaLinux:8openblas-static0.3.15-4.el8ALSA-2022:7639
AlmaLinux:8openblas-threads0.3.15-4.el8ALSA-2022:7639
AlmaLinux:8openblas-threads640.3.15-4.el8ALSA-2022:7639
AlmaLinux:8openblas-threads64_0.3.15-4.el8ALSA-2022:7639
Debian:12lapack3.10.0-2DEBIAN-CVE-2021-4048
Debian:13lapack3.10.0-2DEBIAN-CVE-2021-4048
Debian:14lapack3.10.0-2DEBIAN-CVE-2021-4048
Debian:12openblas0.3.18+ds-1DEBIAN-CVE-2021-4048
Debian:13openblas0.3.18+ds-1DEBIAN-CVE-2021-4048
Debian:14openblas0.3.18+ds-1DEBIAN-CVE-2021-4048
Rocky Linux:8openblas0:0.3.15-4.el8RLSA-2022:7639

Affected products (as reported)

VendorProductVersions
n/a lapack lapack through version 3.10.0

Weakness: CWE-125

References