CVE-2022-1473Resource leakage when decoding certificates and keys
The OPENSSL_LH_flush() function, which empties a hash table, contains a bug that breaks reuse of the memory occuppied by the removed hash table entries. This function is used when decoding certificates or keys. If a long lived process periodically decodes certificates or keys its memory usage will expand without bounds and the process might be terminated by the operating system causing a denial of service. Also traversing the empty hash table entries will take increasingly more time. Typically such long lived processes might be TLS clients or TLS servers configured to accept client certificate authentication. The function was added in the OpenSSL 3.0 version thus older releases are not affected by the issue. Fixed in OpenSSL 3.0.3 (Affected 3.0.0,3.0.1,3.0.2).
What to do
Fixed builds are available from AlmaLinux, Alpine, Red Hat, Ubuntu, crates.io: 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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | edk2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 26.04 | nodejs | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | edk2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | nodejs | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | edk2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | nodejs | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | edk2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | openssl | Fixed | 3.0.2-0ubuntu1.1 | UBUNTU-CVE-2022-1473 |
| Ubuntu 16.04 | edk2 | Fix pending | UBUNTU-CVE-2022-1473 | |
| Ubuntu 16.04 | nodejs | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | openssl | Fix pending | 1.0.2g-1ubuntu4.20+esm3 (Ubuntu Pro) | UBUNTU-CVE-2022-1473 |
| Ubuntu 14.04 | edk2 | Fix pending | ||
| Red Hat Enterprise Linux 9 | compat-openssl11 | Not affected | ||
| Red Hat Enterprise Linux 9 | edk2 | Not affected | ||
| Red Hat Enterprise Linux 9 | edk2-aarch64 | Not affected | ||
| Red Hat Enterprise Linux 9 | edk2-ovmf | Not affected | ||
| Red Hat Enterprise Linux 9 | edk2-tools | Not affected | ||
| Red Hat Enterprise Linux 9 | edk2-tools-doc | Not affected | ||
| Red Hat Enterprise Linux 9 | openssl | Fixed | 1:3.0.1-41.el9_0 | RHSA-2022:6224 |
| Red Hat Enterprise Linux 9 | openssl-devel | Fixed | 1:3.0.1-41.el9_0 | RHSA-2022:6224 |
| Red Hat Enterprise Linux 9 | openssl-libs | Fixed | 1:3.0.1-41.el9_0 | RHSA-2022:6224 |
| Red Hat Enterprise Linux 9 | openssl-perl | Fixed | 1:3.0.1-41.el9_0 | RHSA-2022:6224 |
| Red Hat Enterprise Linux 9 | shim | Not affected | ||
| Red Hat Enterprise Linux 9 | shim-aa64 | Not affected | ||
| Red Hat Enterprise Linux 9 | shim-x64 | Not affected | ||
| Red Hat Enterprise Linux 8 | compat-openssl10 | Not affected | ||
| Red Hat Enterprise Linux 8 | edk2 | Not affected | ||
| Red Hat Enterprise Linux 8 | edk2-aarch64 | Not affected | ||
| Red Hat Enterprise Linux 8 | edk2-ovmf | Not affected | ||
| Red Hat Enterprise Linux 8 | openssl | Not affected | ||
| Red Hat Enterprise Linux 8 | openssl-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | openssl-libs | Not affected | ||
| Red Hat Enterprise Linux 8 | openssl-perl | Not affected | ||
| Red Hat Enterprise Linux 8 | openssl-static | Not affected | ||
| Red Hat Enterprise Linux 8 | shim | Not affected | ||
| Red Hat Enterprise Linux 8 | shim-aa64 | Not affected | ||
| Red Hat Enterprise Linux 8 | shim-ia32 | Not affected | ||
| Red Hat Enterprise Linux 8 | shim-x64 | Not affected | ||
| Red Hat Enterprise Linux 7 | AAVMF | Not affected | ||
| Red Hat Enterprise Linux 7 | OVMF | Not affected | ||
| Red Hat Enterprise Linux 7 | openssl | Not affected | ||
| Red Hat Enterprise Linux 7 | openssl-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | openssl-libs | Not affected | ||
| Red Hat Enterprise Linux 7 | openssl-perl | Not affected | ||
| Red Hat Enterprise Linux 7 | openssl-static | Not affected | ||
| Red Hat Enterprise Linux 7 | ovmf | Not affected | ||
| Red Hat Enterprise Linux 6 | openssl | Not affected | ||
| Red Hat Enterprise Linux 6 | openssl-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | openssl-perl | Not affected | ||
| Red Hat Enterprise Linux 6 | openssl-static | Not affected | ||
| AlmaLinux 9 | openssl | Fixed | 1:3.0.1-41.el9_0 | ALSA-2022:6224 |
| AlmaLinux 9 | openssl-devel | Fixed | 1:3.0.1-41.el9_0 | ALSA-2022:6224 |
| AlmaLinux 9 | openssl-libs | Fixed | 1:3.0.1-41.el9_0 | ALSA-2022:6224 |
| AlmaLinux 9 | openssl-perl | Fixed | 1:3.0.1-41.el9_0 | ALSA-2022:6224 |
| Alpine Linux 3.24 | openssl | Fixed | 3.0.3-r0 | ALPINE-CVE-2022-1473 |
| Alpine Linux 3.23 | openssl | Fixed | 3.0.3-r0 | ALPINE-CVE-2022-1473 |
| Alpine Linux 3.22 | openssl | Fixed | 3.0.3-r0 | ALPINE-CVE-2022-1473 |
| Alpine Linux 3.21 | openssl | Fixed | 3.0.3-r0 | ALPINE-CVE-2022-1473 |
| Alpine Linux 3.20 | openssl | Fixed | 3.0.3-r0 | ALPINE-CVE-2022-1473 |
| Alpine Linux 3.19 | openssl | Fixed | 3.0.3-r0 | ALPINE-CVE-2022-1473 |
| Alpine Linux 3.18 | openssl | Fixed | 3.0.3-r0 | ALPINE-CVE-2022-1473 |
| Alpine Linux 3.17 | openssl | Fixed | 3.0.3-r0 | ALPINE-CVE-2022-1473 |
| Alpine Linux 3.16 | openssl3 | Fixed | 3.0.3-r0 | ALPINE-CVE-2022-1473 |
| Alpine Linux 3.15 | openssl3 | Fixed | 3.0.3-r0 | ALPINE-CVE-2022-1473 |
| crates.io library | openssl-src | Fixed | 300.0.6 | RUSTSEC-2022-0025 |
What the vendor says
As published in the CVE record by openssl, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- OpenSSL: affected: Fixed in OpenSSL 3.0.3 (Affected 3.0.0,3.0.1,3.0.2)
Vendor advisories:
- https://security.gentoo.org/glsa/202210-02 (vendor-advisory)
References
- https://www.openssl.org/news/secadv/20220503.txt
- https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=64c85430f95200b6b51fe9475bd5203f7c19daf1
- https://security.netapp.com/advisory/ntap-20220602-0009/
- https://security.gentoo.org/glsa/202210-02
- https://cert-portal.siemens.com/productcert/pdf/ssa-953464.pdf
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.