Infinite loop in BN_mod_sqrt() reachable when parsing certificates
CVSS Skor
7.5
EPSS İhtimal
%73.2
Risk Skoru
5.5
Yayın
4 yıl önce
Resmî kaynaklarda yeterli kanıt bulunamadı. Bu sonuç “yama yok” anlamına gelmez.
Envanterimdeki Etkisi
Yalnızca hesabınıza eklediğiniz kişisel ürünler değerlendirilir; kurumsal envanter burada görünmez.
Oturum kontrol ediliyor…
Zafiyet Açıklaması
DayBreach CVE AI Araştırması
CVE-2022-0778 için toplanan üretici, dağıtım, yama ve güvenlik kaynağı kayıtlarını karşılaştırıp kanıt bağlantılı bir açıklama hazırlayalım.
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).
IMPACT — Etkilenen Ürünler ve Yazılımlar
Affected Products
The following products are affected by CVE-2022-0778 vulnerability. Even if our threat engine is aware of the exact versions of the products that are affected, the information is represented below.
| ID | VENDOR | PRODUCT | ACTION |
|---|---|---|---|
| 1 | openssl | openssl | İncele |
| 2 | openssl | openssl | İncele |
| 3 | openssl | openssl | İncele |
| 4 | openssl | openssl | İncele |
| 5 | debian | debian linux | İncele |
| 6 | debian | debian linux | İncele |
| 7 | debian | debian linux | İncele |
| 8 | netapp | cloud volumes ontap mediator | İncele |
| 9 | netapp | clustered data ontap | İncele |
| 10 | netapp | clustered data ontap antivirus connector | İncele |
| 11 | netapp | santricity smi-s provider | İncele |
| 12 | netapp | storagegrid | İncele |
| 13 | netapp | a250 firmware | İncele |
| 14 | netapp | a250 | İncele |
| 15 | netapp | 500f firmware | İncele |
| 16 | netapp | 500f | İncele |
| 17 | fedoraproject | fedora | İncele |
| 18 | fedoraproject | fedora | İncele |
| 19 | tenable | nessus | İncele |
| 20 | tenable | nessus | İncele |
| 21 | mariadb | mariadb | İncele |
| 22 | mariadb | mariadb | İncele |
| 23 | mariadb | mariadb | İncele |
| 24 | mariadb | mariadb | İncele |
| 25 | mariadb | mariadb | İncele |
| 26 | mariadb | mariadb | İncele |
| 27 | nodejs | node.js | İncele |
| 28 | nodejs | node.js | İncele |
| 29 | nodejs | node.js | İncele |
| 30 | nodejs | node.js | İncele |
| 31 | nodejs | node.js | İncele |
| 32 | nodejs | node.js | İncele |
| 33 | nodejs | node.js | İncele |
RED HAT CSAF/VEX — Ürün Etki Kontrolü
SCORING — CVSS Çoklu Kaynak Skoru
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and display CVSS scores from various sources for each CVE.
| SCORE | VERSION | SEVERITY | VECTOR | SOURCE |
|---|---|---|---|---|
| 7.5 | CVSS V31 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD |
| 7.5 | CVSS V3_1 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | CVE ADP |
| 5.0 | CVSS V2 | — | AV:N/AC:L/Au:N/C:N/I:N/A:P | NVD |
Yama ve İyileştirme Rehberi (Solution)
Solution & Remediation Advisory
İncelenen resmî kaynaklarda yama durumu doğrulanamadı. Bu sonuç “yama yok” anlamına gelmez.
Public exploit ve aktif sömürü durumu
Doğrulanmış exploit istihbaratı
Bu CVE için henüz doğrulanmış public PoC, exploit repository’si veya Metasploit modülü bulunamadı.
Zafiyet Dağılımı ve Saldırı Kalıpları (CWE & CAPEC)
CWE - Common Weakness Enumeration
While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2022-0778 is associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2022-0778 weaknesses.
Saldırı Vektörü ve Erişilebilirlik Karakteristiği
Resmi Kaynaklar ve Danışma Bültenleri
CVSS Vektör Radar Grafiği
7.5 / 10Vulnerability Scoring Details
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HZafiyet Türü (CWE & CAPEC)
İlgili Benzer Açıklar
Improper input validation in Apache Log4j
Improper access control in N/a
Vulnerability in Apache Tomcat
Path traversal in N/a
Vulnerability in GNU Inetutils
Vulnerability in N/a
Bu açığı API ile alın
Etkilenen ürünler, sürüm aralıkları, istismar durumu ve yama bilgisi tek istekte; ücretsiz anahtarla.
curl -H "x-api-key: $DAYBREACH_API_KEY" \ "https://api.daybreach.dev/api/v1/intel/cves/CVE-2022-0778"