CVE-2022-0778
Highopenssl - security update
Published Aug 15, 2022 · Updated Oct 16, 2026 · Also known as ALPINE-CVE-2022-0778, BIT-mariadb-2022-0778, BIT-mariadb-min-2022-0778, BIT-mysql-client-2022-0778, BIT-node-2022-0778, BIT-node-min-2022-0778, DEBIAN-CVE-2022-0778, DLA-2953-1, EUVD-2022-1575, GHSA-x3mh-jvjw-3xwx, JLSEC-2026-227, RUSTSEC-2022-0014, SUSE-RU-2022:0861-1, SUSE-SU-2022:0851-1, SUSE-SU-2022:0853-1, SUSE-SU-2022:0854-1, SUSE-SU-2022:0856-1, SUSE-SU-2022:0857-1, SUSE-SU-2022:0859-1, SUSE-SU-2022:0860-1, SUSE-SU-2022:0861-1, SUSE-SU-2022:0935-1, SUSE-SU-2022:14915-1, SUSE-SU-2022:14916-1, TR-22-0235, TR-22-0281, TR-22-0285, TR-22-0515, TR-22-0537, UBUNTU-CVE-2022-0778, USN-5328-1, USN-5328-2, USN-6457-1
Key Facts
Patch immediately- CVE-2022-0778 is a high-severity vulnerability (CVSS 7.5 v3.1) affecting Mariadb, Cloud Volumes Ontap Mediator (Netapp), Clustered Data Ontap (Netapp) and 22 more products.
- It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
- EPSS estimates a 73% probability of exploitation in the next 30 days.
- Fixed versions are available, including cargo-audit-advisory-db 20220323-1.1, compat-openssl098 0.9.8j-106.33.1, compat-openssl10 1:1.0.2o-4.el8_6.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
CVSS v3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS (30-day exploit likelihood)
73%
Higher than 99.4% of all scored CVEs
Exploited in the wild
No known
Not in a known-exploited catalog
Public exploit code
None known
Get the full CVE-2022-0778 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
Description
The BN_mod_sqrt() function, which computes a modular square root, contains a bug that can cause it to loop forever for non-prime moduli. Internally this function is used when parsing certificates that contain elliptic curve public keys in compressed form or explicit elliptic curve parameters with a base point encoded in compressed form. It is possible to trigger the infinite loop by crafting a certificate that has invalid explicit curve parameters. Since certificate parsing happens prior to verification of the certificate signature, any process that parses an externally supplied certificate may thus be subject to a denial of service attack. The infinite loop can also be reached when parsing crafted private keys as they can contain explicit elliptic curve parameters. Thus vulnerable situations include: - TLS clients consuming server certificates - TLS servers consuming client certificates - Hosting providers taking certificates or private keys from customers - Certificate authorities parsing certification requests from subscribers - Anything else which parses ASN.1 elliptic curve parameters Also any other applications that use the BN_mod_sqrt() where the attacker can control the parameter values are vulnerable to this DoS issue. In the OpenSSL 1.0.2 version the public key is not parsed during initial parsing of the certificate which makes it slightly harder to trigger the infinite loop. However any operation which requires the public key from the certificate will trigger the infinite loop. In particular the attacker can use a self-signed certificate to trigger the loop during verification of the certificate signature. This issue affects OpenSSL versions 1.0.2, 1.1.1 and 3.0. It was addressed in the releases of 1.1.1n and 3.0.2 on the 15th March 2022. Fixed in OpenSSL 3.0.2 (Affected 3.0.0,3.0.1). Fixed in OpenSSL 1.1.1n (Affected 1.1.1-1.1.1m). Fixed in OpenSSL 1.0.2zd (Affected 1.0.2-1.0.2zc).
Affected Products
1,098 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| MariadbMariadb | >= 10.2.0 | 10.2.42 |
| Cloud Volumes Ontap MediatorNetapp | See advisory | n/a |
| Clustered Data OntapNetapp | See advisory | n/a |
| Clustered Data Ontap Antivirus ConnectorNetapp | See advisory | n/a |
| Santricity Smi-S ProviderNetapp | See advisory | n/a |
Patched Releases
cargo-audit-advisory-db
20220323-1.1
compat-openssl098
0.9.8j-106.33.1
compat-openssl10
1:1.0.2o-4.el8_6
compat-openssl11
1:1.1.1k-4.0.1.el9_0, 1:1.1.1k-4.el9_0
corepack14
14.19.1-150200.15.31.1
edk2
2022.02-3ubuntu0.22.04.4, 2024.02-2ubuntu0.6, 20240223gitedc6681206c1-1, 2025.02-3ubuntu2.2
edk2-aarch64
20200801stable-1.amzn2.0.5
edk2-ovmf
20200801stable-1.amzn2.0.5
edk2-tools
20200801stable-1.amzn2.0.5
edk2-tools-doc
20200801stable-1.amzn2.0.5
edk2-tools-python
20200801stable-1.amzn2.0.5
efi-shell-aa64
2024.02-2ubuntu0.6, 2025.02-3ubuntu2.2
efi-shell-arm
2024.02-2ubuntu0.6, 2025.02-3ubuntu2.2
efi-shell-ia32
2024.02-2ubuntu0.6, 2025.02-3ubuntu2.2
efi-shell-loongarch64
2025.02-3ubuntu2.2
efi-shell-riscv64
2024.02-2ubuntu0.6, 2025.02-3ubuntu2.2
efi-shell-x64
2024.02-2ubuntu0.6, 2025.02-3ubuntu2.2
glibc
2.31-150300.20.1, 2.31-150300.20.7
glibc-32bit
2.31-150300.20.7
glibc-devel
2.31-150300.20.7
glibc-devel-32bit
2.31-150300.20.7
glibc-devel-static
2.31-150300.20.7
glibc-extra
2.31-150300.20.7
glibc-i18ndata
2.31-150300.20.7
glibc-info
2.31-150300.20.7
Timeline
Publicly disclosed
Aug 15, 2022
Last updated
Oct 16, 2026
Weakness Type
- CWE-835 Loop with Unreachable Exit Condition ('Infinite Loop')
References
- advisoryhttp://access.redhat.com/errata/RHSA-2022:1069
- advisoryhttp://access.redhat.com/errata/RHSA-2022:1082
- advisoryhttp://access.redhat.com/errata/RHSA-2022:1917
- advisoryhttp://access.redhat.com/errata/RHSA-2022:1939
- advisoryhttp://access.redhat.com/errata/RHSA-2022:1986
FAQ
Common Questions.
The BN_mod_sqrt() function, which computes a modular square root, contains a bug that can cause it to loop forever for non-prime moduli.
Affected: Mariadb versions >= 10.2.0; Cloud Volumes Ontap Mediator (Netapp); Clustered Data Ontap (Netapp), among others. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
No public exploit code is known.
Fixed versions are available, including cargo-audit-advisory-db 20220323-1.1, compat-openssl098 0.9.8j-106.33.1, compat-openssl10 1:1.0.2o-4.el8_6.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2022-0778 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo