OpenSSL up to 1.0.2zc/1.1.1m/3.0.1 Non-prime Moduli BN_mod_sqrt infinite loop

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
6.7$0-$5k0.00

Summaryinfo

A vulnerability was found in OpenSSL up to 1.0.2zc/1.1.1m/3.0.1. It has been classified as critical. Impacted is the function BN_mod_sqrt of the component Non-prime Moduli Handler. Performing a manipulation results in infinite loop. This vulnerability was named CVE-2022-0778. The attack may be initiated remotely. There is no available exploit. Upgrading the affected component is recommended.

Detailsinfo

A vulnerability, which was classified as critical, was found in OpenSSL up to 1.0.2zc/1.1.1m/3.0.1 (Network Encryption Software). This affects the function BN_mod_sqrt of the component Non-prime Moduli Handler. The manipulation with an unknown input leads to a infinite loop vulnerability. CWE is classifying the issue as CWE-835. The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop. This is going to have an impact on availability.

The weakness was presented 03/15/2022. It is possible to read the advisory at openssl.org. This vulnerability is uniquely identified as CVE-2022-0778 since 02/28/2022. Technical details of the vulnerability are known, but there is no available exploit. The attack technique deployed by this issue is T1499 according to MITRE ATT&CK.

The vulnerability scanner Nessus provides a plugin with the ID 209854 (Fortinet FortiWeb in OpenSSL library (FG-IR-22-059)), which helps to determine the existence of the flaw in a target environment.

Upgrading to version 1.0.2zd, 1.1.1n or 3.0.2 eliminates this vulnerability. Applying the patch 3118eb64934499d93db3230748a452351d1d9a65 is able to eliminate this problem. The bugfix is ready for download at git.openssl.org. The best possible mitigation is suggested to be upgrading to the latest version.

The vulnerability is also documented in the vulnerability database at Tenable (209854). Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Productinfo

Type

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.8
VulDB Meta Temp Score: 6.7

VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 7.5
NVD Vector: 🔍

ADP CISA Base Score: 7.5
ADP CISA Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Infinite loop
CWE: CWE-835 / CWE-404
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 209854
Nessus Name: Fortinet FortiWeb in OpenSSL library (FG-IR-22-059)

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: OpenSSL 1.0.2zd/1.1.1n/3.0.2
Patch: 3118eb64934499d93db3230748a452351d1d9a65

Timelineinfo

02/28/2022 🔍
03/15/2022 +15 days 🔍
03/15/2022 +0 days 🔍
05/26/2026 +1533 days 🔍

Sourcesinfo

Product: openssl.org

Advisory: openssl.org
Status: Confirmed

CVE: CVE-2022-0778 (🔍)
GCVE (CVE): GCVE-0-2022-0778
GCVE (VulDB): GCVE-100-195123

Entryinfo

Created: 03/15/2022 20:26
Updated: 05/26/2026 15:47
Changes: 03/15/2022 20:26 (42), 03/18/2022 11:17 (1), 06/10/2022 15:31 (19), 06/22/2024 15:23 (16), 10/29/2024 01:15 (2), 05/26/2026 15:47 (11)
Complete: 🔍
Cache ID: 216::103

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Discussion

 cheek
(+0)
4 years ago
Hi,
About this vulnerability,the affected version is an interval, not a single version. Like the description of this issue.
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).

So the information of the CPE is not correct.
Can you update this? Thanks a lot.

CPE 2.3信息编辑
cpe:2.3:a:openssl:openssl:1.0.2zc:*:*:*:*:*:*:*
cpe:2.3:a:openssl:openssl:1.1.1m:*:*:*:*:*:*:*
cpe:2.3:a:openssl:openssl:3.0:*:*:*:*:*:*:*
cpe:2.3:a:openssl:openssl:3.0.1:*:*:*:*:*:*:*
CPE 2.2信息编辑
cpe:/a:openssl:openssl:1.0.2zc
cpe:/a:openssl:openssl:1.1.1m
cpe:/a:openssl:openssl:3.0
cpe:/a:openssl:openssl:3.0.1
Thank you for your feedback. We have updated the entry with the exact version information.
 cheek
(+0)
4 years ago
Hi ,about the above comments, When can update the affected version? thanks a lot.

Do you know our Splunk app?

Download it now for free!