PT-2022-1848 · Openssl+18 · Openssl+18

Tavis Ormandy

·

Published

2022-02-09

·

Updated

2026-05-22

·

CVE-2022-0778

CVSS v2.0

7.8

High

VectorAV:N/AC:L/Au:N/C:N/I:N/A:C
Name of the Vulnerable Software and Affected Versions OpenSSL versions 1.0.2 through 1.0.2zc OpenSSL versions 1.1.1 through 1.1.1m OpenSSL versions 3.0.0 through 3.0.1
Description The BN mod sqrt() function in OpenSSL contains a bug that can cause it to loop forever for non-prime moduli, leading to a denial of service attack. This issue can be triggered by crafting a certificate with invalid explicit curve parameters. The vulnerability affects various situations, including TLS clients and servers consuming certificates, hosting providers, and certificate authorities parsing certification requests. The issue was addressed in the releases of OpenSSL 1.1.1n and 3.0.2 on March 15, 2022.
Recommendations For OpenSSL versions 1.0.2 through 1.0.2zc, update to version 1.0.2zd. For OpenSSL versions 1.1.1 through 1.1.1m, update to version 1.1.1n. For OpenSSL versions 3.0.0 through 3.0.1, update to version 3.0.2. As a temporary workaround, consider disabling the BN mod sqrt() function until a patch is available. Restrict access to the vulnerable module to minimize the risk of exploitation. Avoid using the BN mod sqrt() function in the affected API endpoints until the issue is resolved.

Exploit

Fix

DoS

Infinite Loop

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2022:1065
ALSA-2022:5326
ALSA-2022_1065
ALSA-2022_5326
ALSA-2022_8832
ALSA-2022_8833
ALSA-2023_5259
ALSA-2023_5683
ALSA-2023_5684
ALSA-2024_11185
ALSA-2024_11219
ALSA-2024_2264
ALSA-2024_2447
ALSA-2024_4749
ALSA-2024_5297
ALSA-2024_6783
ALSA-2024_7848
ALSA-2024_8935
ALSA-2024_9333
ALSA-2025_16046
ALSA-2025_1671
ALSA-2025_1673
ALSA-2025_16880
ALSA-2025_19572
ALSA-2025_19584
ALT-PU-2022-1489
ALT-PU-2022-1515
ALT-PU-2022-1543
ALT-PU-2022-1562
ALT-PU-2022-1563
ALT-PU-2022-1760
ALT-PU-2022-1799
ALT-PU-2022-2156
ALT-PU-2022-2167
ALT-PU-2022-2171
ALT-PU-2022-2174
ALT-PU-2022-2360
ALT-PU-2022-2446
ALT-PU-2022-3073
ALT-PU-2023-1461
ALT-PU-2023-1583
ALT-PU-2023-1912
ALT-PU-2023-6462
AZL-9051
BDU:2022-01315
BIT-MARIADB-2022-0778
BIT-MARIADB-MIN-2022-0778
BIT-MYSQL-CLIENT-2022-0778
BIT-NODE-2022-0778
BIT-NODE-MIN-2022-0778
CESA-2022_1065
CESA-2022_1066
CESA-2022_5326
CVE-2022-0778
DLA-2952-1
DLA-2953-1
DSA-5103-1
ELSA-2022-1065
ELSA-2022-1066
ELSA-2022-4899
ELSA-2022-5326
ELSA-2022-9224
ELSA-2022-9233
ELSA-2022-9246
FREEBSD-SA-22_03
GHSA-X3MH-JVJW-3XWX
INFSA-2022_4899
JLSEC-2026-227
MGASA-2022-0113
OESA-2022-1603
OESA-2022-1898
OESA-2022-1924
OESA-2022-1938
OESA-2023-1830
OESA-2024-2092
OESA-2024-2093
OESA-2024-2094
OESA-2024-2095
OPENSUSE-SU-2022:0856-1
OPENSUSE-SU-2022_0856-1
OPENSUSE-SU-2022_1461-1
OPENSUSE-SU-2022_1462-1
OPENSUSE-SU-2024:11927-1
OPENSUSE-SU-2024:11933-1
OPENSUSE-SU-2024:11944-1
OPENSUSE-SU-2024:11953-1
OPENSUSE-SU-2024:12444-1
OPENSUSE-SU-2025:14965-1
RHSA-2022:1065
RHSA-2022:1066
RHSA-2022:1071
RHSA-2022:1073
RHSA-2022:1076
RHSA-2022:1077
RHSA-2022:1078
RHSA-2022:1082
RHSA-2022:1091
RHSA-2022:1112
RHSA-2022:1263
RHSA-2022:1389
RHSA-2022:1519
RHSA-2022:4896
RHSA-2022:4899
RHSA-2022:5326
RHSA-2022_1065
RHSA-2022_1066
RHSA-2022_1073
RHSA-2022_4899
RHSA-2022_5326
RLSA-2022:1065
RLSA-2022:4899
RLSA-2022:5326
RLSA-2022_1065
RLSA-2022_4899
RLSA-2022_5326
ROSA-SA-2023-2252
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:1459-1
SUSE-SU-2022:1461-1
SUSE-SU-2022:1462-1
SUSE-SU-2022:14915-1
SUSE-SU-2022:14916-1
SUSE-SU-2022:1536-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_0935-1
SUSE-SU-2022_1459-1
SUSE-SU-2022_1461-1
SUSE-SU-2022_1462-1
SUSE-SU-2022_14915-1
SUSE-SU-2022_14916-1
USN-5328-1
USN-5328-2
USN-6457-1
USN-7894-1
USN-7894-2

Affected Products

Alt Linux
Almalinux
Centos
Check Point Gaia
Fortios
Freebsd
Hpe Ilo
Ibm Aix
Linuxmint
Apple Macos
Mariadb Server
Mysql Server
Openssl
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu
Zvirt Node