---
title: "CVE-2022-0778"
canonical_url: "https://pkgseek.com/security/CVE-2022-0778"
locale: "zh-CN"
source: "pkgseek"
entity_type: "cve"
severity: "high"
---

# 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 ma…

CVE-2022-0778 严重级别为 HIGH (7.5)，共索引 23 条受影响软件包构建记录，涉及 4 个发行版。

- **级别 / 评分**: HIGH (7.5)
- **受影响构建数**: 23
- **涉及发行版**: 4
- **已标明修复版本发行版**: Alibaba Cloud Linux, Oracle Linux, Red Hat Enterprise Linux, Ubuntu

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Alibaba Cloud Linux | 3 | openssl | 1:1.1.1g-15.1.al8 | 1:1.1.1k-5.0.2.al8 |
| Alibaba Cloud Linux | 3 | openssl-devel | 1:1.1.1g-15.1.al8 | 1:1.1.1k-5.0.2.al8 |
| Alibaba Cloud Linux | 3 | openssl-libs | 1:1.1.1g-15.1.al8 | 1:1.1.1k-5.0.2.al8 |
| Alibaba Cloud Linux | 3 | openssl-perl | 1:1.1.1g-15.1.al8 | 1:1.1.1k-5.0.2.al8 |
| Alibaba Cloud Linux | 3 | openssl-static | 1:1.1.1g-15.1.al8 | 1:1.1.1k-5.0.2.al8 |
| Oracle Linux | 8 | compat-openssl10 | 1:1.0.2o-3.el8 | 1:1.0.2o-4.el8_6 |
| Oracle Linux | 8 | openssl | 1:1.1.1k-5.0.1.el8_5 | 1:1.1.1k-6.el8_5 |
| Oracle Linux | 8 | openssl-devel | 1:1.1.1k-5.0.1.el8_5 | 1:1.1.1k-6.el8_5 |
| Oracle Linux | 8 | openssl-libs | 1:1.1.1k-5.0.1.el8_5 | 1:1.1.1k-6.el8_5 |
| Oracle Linux | 8 | openssl-perl | 1:1.1.1k-5.0.1.el8_5 | 1:1.1.1k-6.el8_5 |
| Oracle Linux | 9 | compat-openssl11 | 1:1.1.1k-3.el9 | 1:1.1.1k-4.0.1.el9_0 |
| Oracle Linux | 9 | openssl | 1:3.0.1-47.0.1.el9_1 | 1:3.0.7-6.0.1.el9_2 |
| Oracle Linux | 9 | openssl-devel | 1:3.0.1-47.0.1.el9_1 | 1:3.0.7-6.0.1.el9_2 |
| Oracle Linux | 9 | openssl-libs | 1:3.0.1-47.0.1.el9_1 | 1:3.0.7-6.0.1.el9_2 |
| Oracle Linux | 9 | openssl-perl | 1:3.0.1-47.0.1.el9_1 | 1:3.0.7-6.0.1.el9_2 |
| Red Hat Enterprise Linux | 9.8 | compat-openssl11 | 1:1.1.1k-3.el9 | 1:1.1.1k-4.el9_0 |
| Ubuntu | focal | libssl1.1 | 1.1.1f-1ubuntu2 | 1.1.1f-1ubuntu2.12 |
| Ubuntu | focal | libssl-dev | 1.1.1f-1ubuntu2 | 1.1.1f-1ubuntu2.12 |
| Ubuntu | focal | libssl-doc | 1.1.1f-1ubuntu2 | 1.1.1f-1ubuntu2.12 |
| Ubuntu | focal | openssl | 1.1.1f-1ubuntu2 | 1.1.1f-1ubuntu2.12 |
| Ubuntu | jammy | ovmf | 2022.02-3 | — |
| Ubuntu | jammy | qemu-efi-aarch64 | 2022.02-3 | — |
| Ubuntu | jammy | qemu-efi-arm | 2022.02-3 | — |
