CVE-2022-1473
openssl: OPENSSL_LH_flush() breaks reuse of memory
Overview
Description
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).
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-459
Affected packages · 2
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Cargo (Rust) | openssl-src | >=300.0.0, <300.0.6 | 300.0.6 |
| Conan (C/C++) | openssl | >=3.0.0 <3.0.3 | 3.0.5 |
Open a package to see all its vulnerabilities.
Operating systems · 23 fixes
Oracle Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 9 | openssl +3 | 1:3.0.1-41.0.1.el9_0 |
| 9 | openssl +3 | 2:3.0.1-41.0.1.ksplice1.el9_0 |
Photon OS 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | openssl +4 | 3.0.3-1.ph4 |
Red Hat 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 9 | openssl +3 | 1:3.0.1-41.el9_0 | RHSA-2022:6224 |
SUSE Linux Enterprise 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.4 | libopenssl-3-devel +2 | 3.0.1-150400.4.7.1 | SUSE-SU-2022:2306-1 |
alma 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 9 | openssl +3 | 1:3.0.1-41.el9_0 |
alpine 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | openssl | 3.0.3-r0 |
| 3.23 | openssl | 3.0.3-r0 |
| 3.24 | openssl | 3.0.3-r0 |
| edge | openssl | 3.0.3-r0 |
amazon linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 2023 | openssl +6 | 1:3.0.5-1.amzn2023.0.4 |
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | libopenssl-3-devel +5 | 3.0.5-1.1 | openSUSE-SU-2024:12204-1 |
root.io alpine 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.23 | rootio-openssl | 3.0.3-r0 |
| 3.24 | rootio-openssl | 3.0.3-r0 |
seal Red Hat 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | openssl +1 | 1:1.0.2k-25.el7_9+sp999 |
| 7 | openssl +1 | 1:1.0.2k-26.el7_9+sp999 |
| 8 | openssl +1 | 1:1.1.1k-14.el8_6+sp999 |
| 8 | openssl +1 | 1:1.1.1k-6.el8_5+sp999 |
ubuntu 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 22.04 | openssl | 3.0.2-0ubuntu1.1 |
| 24.04 | openssl | 3.0.2-0ubuntu2 |
| 26.04 | openssl | 3.0.2-0ubuntu2 |
chainguard 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| ruby-3-1 | not affected |
wolfi 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| ruby-3-1 | not affected |
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2022:6224
- access.redhat.com https://access.redhat.com/security/cve/CVE-2022-1473
- bugzilla.redhat.com https://bugzilla.redhat.com/2081494
- bugzilla.redhat.com https://bugzilla.redhat.com/2087911
- bugzilla.redhat.com https://bugzilla.redhat.com/2087913
- bugzilla.redhat.com https://bugzilla.redhat.com/2097310
- bugzilla.redhat.com https://bugzilla.redhat.com/2104905
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-419740.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-794697.html
Show all 29 references
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-942865.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-953464.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/pdf/ssa-953464.pdf
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2022-6224.html
- git.openssl.org https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=64c85430f95200b6b51fe9475bd5203f7c19daf1
- git.openssl.org https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=64c85430f95200b6b51fe9475bd5203f7c19daf1
- github.com https://github.com/github/advisory-database/issues/405
- linux.oracle.com https://linux.oracle.com/cve/CVE-2022-1473.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2022-9751.html
- mta.openssl.org https://mta.openssl.org/pipermail/openssl-announce/2022-May/000224.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2022-1473
- rustsec.org https://rustsec.org/advisories/RUSTSEC-2022-0025.html
- security.gentoo.org https://security.gentoo.org/glsa/202210-02
- security.netapp.com https://security.netapp.com/advisory/ntap-20220602-0009
- security.netapp.com https://security.netapp.com/advisory/ntap-20220602-0009/
- ubuntu.com https://ubuntu.com/security/notices/USN-5402-1
- ubuntu.com https://ubuntu.com/security/notices/USN-5402-2
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2022-1473
- www.openssl.org https://www.openssl.org/news/secadv/20220503.txt
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.