{
  "document": {
    "aggregate_severity": {
      "text": "High"
    },
    "category": "csaf_vex",
    "csaf_version": "2.0",
    "distribution": {
      "text": "TuxCare License Agreement",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "legal_disclaimer",
        "text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Cloud Linux Inc. and provide a link to the original.",
        "title": "Terms of Use"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://tuxcare.com/contact/",
      "name": "TuxCare",
      "namespace": "https://tuxcare.com/"
    },
    "references": [
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.tuxcare.com/csaf/v2/els_os/ubuntu20.04els/vex/2022/cve-2022-0778-els_os-ubuntu20_04els.json"
      }
    ],
    "tracking": {
      "current_release_date": "2026-04-17T15:13:48Z",
      "generator": {
        "date": "2026-04-17T15:13:48Z",
        "engine": {
          "name": "pyCSAF"
        }
      },
      "id": "CVE-2022-0778-ELS_OS-UBUNTU20.04ELS",
      "initial_release_date": "2022-03-15T17:15:00Z",
      "revision_history": [
        {
          "date": "2022-03-15T17:15:00Z",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2026-04-17T15:13:48Z",
          "number": "2",
          "summary": "Official Publication"
        }
      ],
      "status": "final",
      "version": "2"
    },
    "title": "Security update on CVE-2022-0778"
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Ubuntu 20.04",
                "product": {
                  "name": "Ubuntu 20.04",
                  "product_id": "Ubuntu-20",
                  "product_identification_helper": {
                    "cpe": "cpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:*"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Ubuntu"
          }
        ],
        "category": "vendor",
        "name": "Canonical Ltd."
      },
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_version",
                "name": "libssl-dev-0:1.1.1f-1ubuntu2.24+tuxcare.els2.amd64",
                "product": {
                  "name": "libssl-dev-0:1.1.1f-1ubuntu2.24+tuxcare.els2.amd64",
                  "product_id": "libssl-dev-0:1.1.1f-1ubuntu2.24+tuxcare.els2.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/libssl-dev@1.1.1f-1ubuntu2.24%2Btuxcare.els2?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "openssl-0:1.1.1f-1ubuntu2.24+tuxcare.els2.amd64",
                "product": {
                  "name": "openssl-0:1.1.1f-1ubuntu2.24+tuxcare.els2.amd64",
                  "product_id": "openssl-0:1.1.1f-1ubuntu2.24+tuxcare.els2.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/openssl@1.1.1f-1ubuntu2.24%2Btuxcare.els2?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "libssl1.1-0:1.1.1f-1ubuntu2.24+tuxcare.els2.amd64",
                "product": {
                  "name": "libssl1.1-0:1.1.1f-1ubuntu2.24+tuxcare.els2.amd64",
                  "product_id": "libssl1.1-0:1.1.1f-1ubuntu2.24+tuxcare.els2.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/libssl1.1@1.1.1f-1ubuntu2.24%2Btuxcare.els2?arch=amd64"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "amd64"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "libssl-doc-0:1.1.1f-1ubuntu2.24+tuxcare.els2.all",
                "product": {
                  "name": "libssl-doc-0:1.1.1f-1ubuntu2.24+tuxcare.els2.all",
                  "product_id": "libssl-doc-0:1.1.1f-1ubuntu2.24+tuxcare.els2.all",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/libssl-doc@1.1.1f-1ubuntu2.24%2Btuxcare.els2?arch=all"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "all"
          }
        ],
        "category": "vendor",
        "name": "TuxCare"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libssl-dev-0:1.1.1f-1ubuntu2.24+tuxcare.els2.amd64 as a component of Ubuntu 20.04",
          "product_id": "Ubuntu-20:libssl-dev-0:1.1.1f-1ubuntu2.24+tuxcare.els2.amd64"
        },
        "product_reference": "libssl-dev-0:1.1.1f-1ubuntu2.24+tuxcare.els2.amd64",
        "relates_to_product_reference": "Ubuntu-20"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "openssl-0:1.1.1f-1ubuntu2.24+tuxcare.els2.amd64 as a component of Ubuntu 20.04",
          "product_id": "Ubuntu-20:openssl-0:1.1.1f-1ubuntu2.24+tuxcare.els2.amd64"
        },
        "product_reference": "openssl-0:1.1.1f-1ubuntu2.24+tuxcare.els2.amd64",
        "relates_to_product_reference": "Ubuntu-20"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libssl-doc-0:1.1.1f-1ubuntu2.24+tuxcare.els2.all as a component of Ubuntu 20.04",
          "product_id": "Ubuntu-20:libssl-doc-0:1.1.1f-1ubuntu2.24+tuxcare.els2.all"
        },
        "product_reference": "libssl-doc-0:1.1.1f-1ubuntu2.24+tuxcare.els2.all",
        "relates_to_product_reference": "Ubuntu-20"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libssl1.1-0:1.1.1f-1ubuntu2.24+tuxcare.els2.amd64 as a component of Ubuntu 20.04",
          "product_id": "Ubuntu-20:libssl1.1-0:1.1.1f-1ubuntu2.24+tuxcare.els2.amd64"
        },
        "product_reference": "libssl1.1-0:1.1.1f-1ubuntu2.24+tuxcare.els2.amd64",
        "relates_to_product_reference": "Ubuntu-20"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2022-0778",
      "cwe": {
        "id": "CWE-835",
        "name": "Loop with Unreachable Exit Condition ('Infinite Loop')"
      },
      "notes": [
        {
          "category": "description",
          "text": "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).",
          "title": "Vulnerability description"
        },
        {
          "category": "general",
          "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.",
          "title": "CVSS score applicability"
        }
      ],
      "product_status": {
        "under_investigation": [
          "Ubuntu-20:libssl-dev-0:1.1.1f-1ubuntu2.24+tuxcare.els2.amd64",
          "Ubuntu-20:libssl-doc-0:1.1.1f-1ubuntu2.24+tuxcare.els2.all",
          "Ubuntu-20:libssl1.1-0:1.1.1f-1ubuntu2.24+tuxcare.els2.amd64",
          "Ubuntu-20:openssl-0:1.1.1f-1ubuntu2.24+tuxcare.els2.amd64"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://cve.tuxcare.com/els/cve/CVE-2022-0778"
        },
        {
          "category": "external",
          "summary": "http://packetstormsecurity.com/files/167344/OpenSSL-1.0.2-1.1.1-3.0-BN_mod_sqrt-Infinite-Loop.html",
          "url": "http://packetstormsecurity.com/files/167344/OpenSSL-1.0.2-1.1.1-3.0-BN_mod_sqrt-Infinite-Loop.html"
        },
        {
          "category": "external",
          "summary": "http://seclists.org/fulldisclosure/2022/May/33",
          "url": "http://seclists.org/fulldisclosure/2022/May/33"
        },
        {
          "category": "external",
          "summary": "http://seclists.org/fulldisclosure/2022/May/35",
          "url": "http://seclists.org/fulldisclosure/2022/May/35"
        },
        {
          "category": "external",
          "summary": "http://seclists.org/fulldisclosure/2022/May/38",
          "url": "http://seclists.org/fulldisclosure/2022/May/38"
        },
        {
          "category": "external",
          "summary": "https://cert-portal.siemens.com/productcert/pdf/ssa-712929.pdf",
          "url": "https://cert-portal.siemens.com/productcert/pdf/ssa-712929.pdf"
        },
        {
          "category": "external",
          "summary": "https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=3118eb64934499d93db3230748a452351d1d9a65",
          "url": "https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=3118eb64934499d93db3230748a452351d1d9a65"
        },
        {
          "category": "external",
          "summary": "https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=380085481c64de749a6dd25cdf0bcf4360b30f83",
          "url": "https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=380085481c64de749a6dd25cdf0bcf4360b30f83"
        },
        {
          "category": "external",
          "summary": "https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=a466912611aa6cbdf550cd10601390e587451246",
          "url": "https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=a466912611aa6cbdf550cd10601390e587451246"
        },
        {
          "category": "external",
          "summary": "https://lists.debian.org/debian-lts-announce/2022/03/msg00023.html",
          "url": "https://lists.debian.org/debian-lts-announce/2022/03/msg00023.html"
        },
        {
          "category": "external",
          "summary": "https://lists.debian.org/debian-lts-announce/2022/03/msg00024.html",
          "url": "https://lists.debian.org/debian-lts-announce/2022/03/msg00024.html"
        },
        {
          "category": "external",
          "summary": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/323SNN6ZX7PRJJWP2BUAFLPUAE42XWLZ/",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/323SNN6ZX7PRJJWP2BUAFLPUAE42XWLZ/"
        },
        {
          "category": "external",
          "summary": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GDB3GQVJPXJE7X5C5JN6JAA4XUDWD6E6/",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GDB3GQVJPXJE7X5C5JN6JAA4XUDWD6E6/"
        },
        {
          "category": "external",
          "summary": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/W6K3PR542DXWLEFFMFIDMME4CWMHJRMG/",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/W6K3PR542DXWLEFFMFIDMME4CWMHJRMG/"
        },
        {
          "category": "external",
          "summary": "https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2022-0002",
          "url": "https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2022-0002"
        },
        {
          "category": "external",
          "summary": "https://security.gentoo.org/glsa/202210-02",
          "url": "https://security.gentoo.org/glsa/202210-02"
        },
        {
          "category": "external",
          "summary": "https://security.netapp.com/advisory/ntap-20220321-0002/",
          "url": "https://security.netapp.com/advisory/ntap-20220321-0002/"
        },
        {
          "category": "external",
          "summary": "https://security.netapp.com/advisory/ntap-20220429-0005/",
          "url": "https://security.netapp.com/advisory/ntap-20220429-0005/"
        },
        {
          "category": "external",
          "summary": "https://security.netapp.com/advisory/ntap-20240621-0006/",
          "url": "https://security.netapp.com/advisory/ntap-20240621-0006/"
        },
        {
          "category": "external",
          "summary": "https://support.apple.com/kb/HT213255",
          "url": "https://support.apple.com/kb/HT213255"
        },
        {
          "category": "external",
          "summary": "https://support.apple.com/kb/HT213256",
          "url": "https://support.apple.com/kb/HT213256"
        },
        {
          "category": "external",
          "summary": "https://support.apple.com/kb/HT213257",
          "url": "https://support.apple.com/kb/HT213257"
        },
        {
          "category": "external",
          "summary": "https://www.debian.org/security/2022/dsa-5103",
          "url": "https://www.debian.org/security/2022/dsa-5103"
        },
        {
          "category": "external",
          "summary": "https://www.openssl.org/news/secadv/20220315.txt",
          "url": "https://www.openssl.org/news/secadv/20220315.txt"
        },
        {
          "category": "external",
          "summary": "https://www.oracle.com/security-alerts/cpuapr2022.html",
          "url": "https://www.oracle.com/security-alerts/cpuapr2022.html"
        },
        {
          "category": "external",
          "summary": "https://www.oracle.com/security-alerts/cpujul2022.html",
          "url": "https://www.oracle.com/security-alerts/cpujul2022.html"
        },
        {
          "category": "external",
          "summary": "https://www.tenable.com/security/tns-2022-06",
          "url": "https://www.tenable.com/security/tns-2022-06"
        },
        {
          "category": "external",
          "summary": "https://www.tenable.com/security/tns-2022-07",
          "url": "https://www.tenable.com/security/tns-2022-07"
        },
        {
          "category": "external",
          "summary": "https://www.tenable.com/security/tns-2022-08",
          "url": "https://www.tenable.com/security/tns-2022-08"
        },
        {
          "category": "external",
          "summary": "https://www.tenable.com/security/tns-2022-09",
          "url": "https://www.tenable.com/security/tns-2022-09"
        },
        {
          "category": "external",
          "summary": "https://cert-portal.siemens.com/productcert/html/ssa-019200.html",
          "url": "https://cert-portal.siemens.com/productcert/html/ssa-019200.html"
        },
        {
          "category": "external",
          "summary": "https://cert-portal.siemens.com/productcert/html/ssa-028723.html",
          "url": "https://cert-portal.siemens.com/productcert/html/ssa-028723.html"
        },
        {
          "category": "external",
          "summary": "https://cert-portal.siemens.com/productcert/html/ssa-108696.html",
          "url": "https://cert-portal.siemens.com/productcert/html/ssa-108696.html"
        },
        {
          "category": "external",
          "summary": "https://cert-portal.siemens.com/productcert/html/ssa-398330.html",
          "url": "https://cert-portal.siemens.com/productcert/html/ssa-398330.html"
        },
        {
          "category": "external",
          "summary": "https://cert-portal.siemens.com/productcert/html/ssa-712929.html",
          "url": "https://cert-portal.siemens.com/productcert/html/ssa-712929.html"
        }
      ],
      "release_date": "2022-03-15T17:15:00Z",
      "remediations": [
        {
          "category": "none_available",
          "details": "Affected",
          "product_ids": [
            "Ubuntu-20:libssl-dev-0:1.1.1f-1ubuntu2.24+tuxcare.els2.amd64",
            "Ubuntu-20:libssl-doc-0:1.1.1f-1ubuntu2.24+tuxcare.els2.all",
            "Ubuntu-20:libssl1.1-0:1.1.1f-1ubuntu2.24+tuxcare.els2.amd64",
            "Ubuntu-20:openssl-0:1.1.1f-1ubuntu2.24+tuxcare.els2.amd64"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v2": {
            "accessComplexity": "LOW",
            "accessVector": "NETWORK",
            "authentication": "NONE",
            "availabilityImpact": "PARTIAL",
            "baseScore": 5.0,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "NONE",
            "integrityImpact": "NONE",
            "vectorString": "AV:N/AC:L/Au:N/C:N/I:N/A:P",
            "version": "2.0"
          },
          "cvss_v3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 7.5,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "NONE",
            "integrityImpact": "NONE",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
            "version": "3.1"
          },
          "products": [
            "Ubuntu-20:libssl-dev-0:1.1.1f-1ubuntu2.24+tuxcare.els2.amd64",
            "Ubuntu-20:libssl-doc-0:1.1.1f-1ubuntu2.24+tuxcare.els2.all",
            "Ubuntu-20:libssl1.1-0:1.1.1f-1ubuntu2.24+tuxcare.els2.amd64",
            "Ubuntu-20:openssl-0:1.1.1f-1ubuntu2.24+tuxcare.els2.amd64"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Important"
        }
      ]
    }
  ]
}