Vulnerability in Openssl (CVE-2022-0778)
Summary
Vulnerability in Openssl (CVE-2022-0778). Risk of unauthorized operations or information disclosure.
Original description
The description as published by the source.
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 i…
Source: NIST National Vulnerability Database NVD
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as CVE-2022-0778 has been found in Openssl.
Risk of unauthorized operations or information disclosure. CVSS score: 7.5/10.
What to do: apply the vendor's official patched release.
If unsure, ask your IT team or search "Openssl CVE-2022-0778" on the vendor's site.
CVE-2022-0778 (Openssl) — CWE-835 / CVSS v3 7.5
Attack vector: remote (network-reachable) / unauthenticated / no user interaction
Affected: 1.1.1 - 1.1.1m
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (CWE-835) exists in Openssl.
Affected versions of Openssl: 1.1.1 - 1.1.1m.
Severity: High (CVSS 7.5/10). Risk of unauthorized operations or information disclosure.
Update to the patched release per vendor advisory. (If a vulnerable version 1.1.1 - 1.1.1m is in production, plan an immediate maintenance window.)
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'Openssl' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1Identify exposure identify
grep -r 'Openssl' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
Opensslを grep し、稼働しているサービス・バージョンを把握する。 -
2Match against affected range verify
Confirm if version satisfies `1.1.1 - 1.1.1m`Step 1 で見つかったバージョンが影響範囲
1.1.1 - 1.1.1mに該当するか照合。本番で稼働中ならインシデント扱い。 -
3Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Alpine Linux ALPINE-CVE-2022-0778 libretls Fixed in: 3.3.3p1-r3
- Debian DEBIAN-CVE-2022-0778 openssl Fixed in: 1.1.1k-1+deb11u2
- Ubuntu UBUNTU-CVE-2022-0778 openssl Fixed in: 1.0.1f-1ubuntu2.27+esm5
References
- advisory packetstormsecurity.com
- advisory seclists.org
- advisory seclists.org
- advisory seclists.org
- advisory cert-portal.siemens.com
- advisory lists.debian.org
- advisory lists.debian.org
- advisory psirt.global.sonicwall.com
- advisory security.gentoo.org
- advisory security.netapp.com
- advisory security.netapp.com
- advisory support.apple.com
- advisory support.apple.com
- advisory support.apple.com
- advisory debian.org
- advisory oracle.com
- advisory oracle.com
- advisory tenable.com
- advisory tenable.com
- advisory tenable.com
- advisory tenable.com
- patch openssl.org
- web git.openssl.org
- web git.openssl.org
- web git.openssl.org
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web security.netapp.com
- web cert-portal.siemens.com
- web cert-portal.siemens.com
- web cert-portal.siemens.com
- web cert-portal.siemens.com
- web cert-portal.siemens.com