Уязвимость CVE-2022-0778: Информация

Описание

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).

Важность: HIGH (7,5) Вектор: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Опубликовано: 15 марта 2022 г.
Изменено: 7 ноября 2023 г.
Идентификатор типа ошибки: CWE-835

Исправленные пакеты

Имя пакета
Ветка
Исправлено в версии
Версия в репозитории
Errata ID
№ Задания
Состояние
MySQLsisyphus8.0.29-alt18.0.37-alt1.1ALT-PU-2022-2156-1299826Исправлено
MySQLsisyphus_e2k8.0.29-alt18.0.37-alt1.1ALT-PU-2022-5632-1-Исправлено
MySQLsisyphus_riscv648.0.30-alt0.1.rv648.0.37-alt0.portALT-PU-2022-5950-1-Исправлено
MySQLp108.0.29-alt18.0.36-alt1ALT-PU-2022-2171-1302902Исправлено
MySQLp10_e2k8.0.29-alt18.0.36-alt1ALT-PU-2022-5561-1-Исправлено
MySQLc10f18.0.29-alt18.0.37-alt1ALT-PU-2022-2171-1302902Исправлено
MySQLc9f28.0.30-alt1.0.c9.18.0.36-alt0.c9.1ALT-PU-2023-1912-1321845Исправлено
MySQLp118.0.29-alt18.0.37-alt1.1ALT-PU-2022-2156-1299826Исправлено
mariadbsisyphus10.6.8-alt110.11.8-alt1ALT-PU-2022-2360-1304958Исправлено
mariadbsisyphus_e2k10.6.9-alt1.110.11.8-alt1ALT-PU-2022-5935-1-Исправлено
mariadbsisyphus_riscv6410.6.8-alt110.11.8-alt1ALT-PU-2022-5713-1-Исправлено
mariadbp1010.6.9-alt110.6.18-alt1ALT-PU-2022-2446-1304969Исправлено
mariadbp10_e2k10.6.9-alt1.110.6.18-alt1ALT-PU-2022-5903-1-Исправлено
mariadbp910.4.31-alt0.M90P.110.4.34-alt0.M90P.1ALT-PU-2023-6462-3332127Исправлено
mariadbc10f110.6.9-alt110.6.18-alt1ALT-PU-2022-2446-1304969Исправлено
mariadbc9f210.6.9-alt110.6.18-alt1ALT-PU-2023-1583-1317769Исправлено
mariadbp1110.6.8-alt110.11.8-alt1ALT-PU-2022-2360-1304958Исправлено
mysql-connector-odbcsisyphus8.0.29-alt18.0.36-alt1ALT-PU-2022-2167-1299827Исправлено
mysql-connector-odbcsisyphus_e2k8.0.29-alt18.0.36-alt1ALT-PU-2022-5402-1-Исправлено
mysql-connector-odbcp108.0.29-alt18.0.36-alt1ALT-PU-2022-2174-1303150Исправлено
mysql-connector-odbcp10_e2k8.0.29-alt18.0.36-alt1ALT-PU-2022-5387-1-Исправлено
mysql-connector-odbcc10f18.0.29-alt18.0.30-alt1ALT-PU-2022-2174-1303150Исправлено
mysql-connector-odbcp118.0.29-alt18.0.36-alt1ALT-PU-2022-2167-1299827Исправлено
nodesisyphus16.14.2-alt120.13.1-alt1ALT-PU-2022-1760-1298946Исправлено
nodep1014.19.1-alt116.19.1-alt1ALT-PU-2022-1799-1298947Исправлено
nodec10f114.19.1-alt116.19.1-alt1ALT-PU-2022-1799-1298947Исправлено
nodec9f216.17.1-alt0.c9.116.19.1-alt0.c9.1ALT-PU-2022-3073-1303505Исправлено
nodep1116.14.2-alt120.13.1-alt1ALT-PU-2022-1760-1298946Исправлено
openssl1.1sisyphus1.1.1n-alt11.1.1w-alt1ALT-PU-2022-1489-1296704Исправлено
openssl1.1sisyphus_riscv641.1.1n-alt11.1.1w-alt1ALT-PU-2022-4283-1-Исправлено
openssl1.1p101.1.1n-alt11.1.1w-alt0.p10.1ALT-PU-2022-1515-1296705Исправлено
openssl1.1p10_e2k1.1.1n-alt11.1.1w-alt0.p10.1ALT-PU-2022-4334-1-Исправлено
openssl1.1p91.1.1n-alt11.1.1u-alt1ALT-PU-2022-1562-1296706Исправлено
openssl1.1p9_e2k1.1.1n-alt21.1.1u-alt1ALT-PU-2022-4737-1-Исправлено
openssl1.1c10f11.1.1n-alt11.1.1w-alt0.p10.1ALT-PU-2022-1515-1296705Исправлено
openssl1.1c9f21.1.1n-alt11.1.1w-alt0.p9.1ALT-PU-2022-1543-1296711Исправлено
openssl10p91.0.2u-alt1.p9.21.0.2u-alt1.p9.2ALT-PU-2022-1563-1296706Исправлено
openssl10p9_e2k1.0.2u-alt1.p9.21.0.2u-alt1.p9.2ALT-PU-2022-4734-1-Исправлено
openssl10p81.0.2u-alt0.M80P.21.0.2u-alt0.M80P.2ALT-PU-2022-1598-1296709Исправлено

Ссылки на рекомендации, решения и инструменты

Ссылка
Ресурс
https://www.openssl.org/news/secadv/20220315.txt
  • Vendor Advisory
DSA-5103
  • Third Party Advisory
[debian-lts-announce] 20220317 [SECURITY] [DLA 2953-1] openssl1.0 security update
  • Mailing List
  • Third Party Advisory
[debian-lts-announce] 20220317 [SECURITY] [DLA 2952-1] openssl security update
  • Mailing List
  • Third Party Advisory
https://security.netapp.com/advisory/ntap-20220321-0002/
  • Third Party Advisory
https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2022-0002
  • Third Party Advisory
https://www.tenable.com/security/tns-2022-06
  • Third Party Advisory
https://www.tenable.com/security/tns-2022-07
  • Third Party Advisory
https://www.tenable.com/security/tns-2022-08
  • Third Party Advisory
https://www.oracle.com/security-alerts/cpuapr2022.html
  • Third Party Advisory
https://www.tenable.com/security/tns-2022-09
  • Third Party Advisory
https://security.netapp.com/advisory/ntap-20220429-0005/
  • Third Party Advisory
https://support.apple.com/kb/HT213256
  • Third Party Advisory
https://support.apple.com/kb/HT213255
  • Third Party Advisory
https://support.apple.com/kb/HT213257
  • Third Party Advisory
20220516 APPLE-SA-2022-05-16-2 macOS Monterey 12.4
  • Mailing List
  • Third Party Advisory
20220516 APPLE-SA-2022-05-16-3 macOS Big Sur 11.6.6
  • Mailing List
  • Third Party Advisory
20220516 APPLE-SA-2022-05-16-4 Security Update 2022-004 Catalina
  • Mailing List
  • Third Party Advisory
http://packetstormsecurity.com/files/167344/OpenSSL-1.0.2-1.1.1-3.0-BN_mod_sqrt-Infinite-Loop.html
  • Third Party Advisory
  • VDB Entry
https://cert-portal.siemens.com/productcert/pdf/ssa-712929.pdf
  • Third Party Advisory
N/A
  • Third Party Advisory
GLSA-202210-02
  • Third Party Advisory
https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=a466912611aa6cbdf550cd10601390e587451246
    https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=3118eb64934499d93db3230748a452351d1d9a65
      https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=380085481c64de749a6dd25cdf0bcf4360b30f83
        FEDORA-2022-a5f51502f0
          FEDORA-2022-9e88b5d8d7
            FEDORA-2022-8bb51f6901
                1. Конфигурация 1

                  cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*
                  Start including
                  3.0.0
                  End excliding
                  3.0.2

                  cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*
                  Start including
                  1.0.2
                  End excliding
                  1.0.2zd

                  cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*
                  Start including
                  1.1.0
                  End excliding
                  1.1.1n

                  Конфигурация 2

                  cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*

                  cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*

                  cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*

                  Конфигурация 3

                  cpe:2.3:a:netapp:santricity_smi-s_provider:-:*:*:*:*:*:*:*

                  cpe:2.3:a:netapp:storagegrid:-:*:*:*:*:*:*:*

                  cpe:2.3:a:netapp:clustered_data_ontap:-:*:*:*:*:*:*:*

                  cpe:2.3:a:netapp:clustered_data_ontap_antivirus_connector:-:*:*:*:*:*:*:*

                  cpe:2.3:a:netapp:cloud_volumes_ontap_mediator:-:*:*:*:*:*:*:*

                  Конфигурация 4

                  cpe:2.3:o:netapp:a250_firmware:-:*:*:*:*:*:*:*

                  Running on/with:
                  cpe:2.3:h:netapp:a250:-:*:*:*:*:*:*:*

                  Конфигурация 5

                  cpe:2.3:o:netapp:500f_firmware:-:*:*:*:*:*:*:*

                  Running on/with:
                  cpe:2.3:h:netapp:500f:-:*:*:*:*:*:*:*

                  Конфигурация 6

                  cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*

                  cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*

                  Конфигурация 7

                  cpe:2.3:a:tenable:nessus:*:*:*:*:*:*:*:*
                  Start including
                  10.0.0
                  End excliding
                  10.1.2

                  cpe:2.3:a:tenable:nessus:*:*:*:*:*:*:*:*
                  End excliding
                  8.15.4

                  Конфигурация 8

                  cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*
                  Start including
                  10.3.0
                  End excliding
                  10.3.33

                  cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*
                  Start including
                  10.4.0
                  End excliding
                  10.4.23

                  cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*
                  Start including
                  10.5.0
                  End excliding
                  10.5.14

                  cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*
                  Start including
                  10.7.0
                  End excliding
                  10.7.2

                  cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*
                  Start including
                  10.6.0
                  End excliding
                  10.6.6

                  cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*
                  Start including
                  10.2.0
                  End excliding
                  10.2.42

                  Конфигурация 9

                  cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*
                  Start including
                  12.0.0
                  End including
                  12.12.0

                  cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*
                  Start excluding
                  17.0.0
                  End excliding
                  17.7.2

                  cpe:2.3:a:nodejs:node.js:*:*:*:*:lts:*:*:*
                  Start including
                  16.13.0
                  End excliding
                  16.14.2

                  cpe:2.3:a:nodejs:node.js:*:*:*:*:lts:*:*:*
                  Start including
                  14.15.0
                  End excliding
                  14.19.1

                  cpe:2.3:a:nodejs:node.js:*:*:*:*:lts:*:*:*
                  Start including
                  12.13.0
                  End excliding
                  12.22.11

                  cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*
                  Start excluding
                  16.0.0
                  End including
                  16.12.0

                  cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*
                  Start excluding
                  14.0.0
                  End including
                  14.14.0