OESA-2022-1924

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2022-1924
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2022-1924.json
JSON Data
https://api.test.osv.dev/v1/vulns/OESA-2022-1924
Upstream
Published
2022-09-16T11:04:17Z
Modified
2025-08-12T05:11:16.432936Z
Summary
linux-sgx security update
Details

Intel(R) Software Guard Extensions (Intel(R) SGX) is an Intel technology for application developers seeking to protect select code and data from disclosure or modification.

Security Fix(es):

The BNmodsqrt() 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 BNmodsqrt() 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).(CVE-2022-0778)

Database specific
{
    "severity": "High"
}
References

Affected packages

openEuler:20.03-LTS-SP1 / linux-sgx

Package

Name
linux-sgx
Purl
pkg:rpm/openEuler/linux-sgx&distro=openEuler-20.03-LTS-SP1

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.11.100-11.oe1

Ecosystem specific

{
    "x86_64": [
        "libsgx-dcap-ql-2.11.100-11.oe1.x86_64.rpm",
        "libsgx-launch-devel-2.11.100-11.oe1.x86_64.rpm",
        "sgx-aesm-service-2.11.100-11.oe1.x86_64.rpm",
        "libsgx-aesm-launch-plugin-2.11.100-11.oe1.x86_64.rpm",
        "libsgx-enclave-common-devel-2.11.100-11.oe1.x86_64.rpm",
        "sgxsdk-2.11.100-11.oe1.x86_64.rpm",
        "libsgx-quote-ex-2.11.100-11.oe1.x86_64.rpm",
        "libsgx-uae-service-2.11.100-11.oe1.x86_64.rpm",
        "libsgx-ra-network-2.11.100-11.oe1.x86_64.rpm",
        "libsgx-epid-devel-2.11.100-11.oe1.x86_64.rpm",
        "libsgx-aesm-quote-ex-plugin-2.11.100-11.oe1.x86_64.rpm",
        "libsgx-enclave-common-2.11.100-11.oe1.x86_64.rpm",
        "libsgx-launch-2.11.100-11.oe1.x86_64.rpm",
        "libsgx-ra-network-devel-2.11.100-11.oe1.x86_64.rpm",
        "libsgx-dcap-quote-verify-2.11.100-11.oe1.x86_64.rpm",
        "libsgx-quote-ex-devel-2.11.100-11.oe1.x86_64.rpm",
        "libsgx-ae-epid-2.11.100-11.oe1.x86_64.rpm",
        "libsgx-urts-2.11.100-11.oe1.x86_64.rpm",
        "libsgx-aesm-epid-plugin-2.11.100-11.oe1.x86_64.rpm",
        "linux-sgx-debuginfo-2.11.100-11.oe1.x86_64.rpm",
        "linux-sgx-debugsource-2.11.100-11.oe1.x86_64.rpm",
        "libsgx-dcap-ql-devel-2.11.100-11.oe1.x86_64.rpm",
        "libsgx-dcap-quote-verify-devel-2.11.100-11.oe1.x86_64.rpm",
        "libsgx-ra-uefi-2.11.100-11.oe1.x86_64.rpm",
        "sgx-pck-id-retrieval-tool-2.11.100-11.oe1.x86_64.rpm",
        "libsgx-epid-2.11.100-11.oe1.x86_64.rpm",
        "libsgx-aesm-pce-plugin-2.11.100-11.oe1.x86_64.rpm",
        "libsgx-ae-qe3-2.11.100-11.oe1.x86_64.rpm",
        "libsgx-dcap-default-qpl-2.11.100-11.oe1.x86_64.rpm",
        "libsgx-pce-logic-2.11.100-11.oe1.x86_64.rpm",
        "libsgx-ae-pce-2.11.100-11.oe1.x86_64.rpm",
        "libsgx-ra-uefi-devel-2.11.100-11.oe1.x86_64.rpm",
        "libsgx-dcap-default-qpl-devel-2.11.100-11.oe1.x86_64.rpm",
        "libsgx-ae-le-2.11.100-11.oe1.x86_64.rpm",
        "libsgx-qe3-logic-2.11.100-11.oe1.x86_64.rpm",
        "libsgx-ae-qve-2.11.100-11.oe1.x86_64.rpm",
        "sgx-dcap-pccs-2.11.100-11.oe1.x86_64.rpm",
        "sgx-ra-service-2.11.100-11.oe1.x86_64.rpm",
        "libsgx-aesm-ecdsa-plugin-2.11.100-11.oe1.x86_64.rpm"
    ],
    "src": [
        "linux-sgx-2.11.100-11.oe1.src.rpm"
    ]
}

openEuler:20.03-LTS-SP3 / linux-sgx

Package

Name
linux-sgx
Purl
pkg:rpm/openEuler/linux-sgx&distro=openEuler-20.03-LTS-SP3

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.11.100-11.oe1

Ecosystem specific

{
    "x86_64": [
        "libsgx-ra-uefi-2.11.100-11.oe1.x86_64.rpm",
        "libsgx-ra-network-2.11.100-11.oe1.x86_64.rpm",
        "linux-sgx-debuginfo-2.11.100-11.oe1.x86_64.rpm",
        "libsgx-dcap-default-qpl-devel-2.11.100-11.oe1.x86_64.rpm",
        "libsgx-dcap-default-qpl-2.11.100-11.oe1.x86_64.rpm",
        "linux-sgx-debugsource-2.11.100-11.oe1.x86_64.rpm",
        "libsgx-epid-2.11.100-11.oe1.x86_64.rpm",
        "libsgx-aesm-launch-plugin-2.11.100-11.oe1.x86_64.rpm",
        "libsgx-enclave-common-devel-2.11.100-11.oe1.x86_64.rpm",
        "sgx-pck-id-retrieval-tool-2.11.100-11.oe1.x86_64.rpm",
        "libsgx-dcap-ql-devel-2.11.100-11.oe1.x86_64.rpm",
        "libsgx-quote-ex-2.11.100-11.oe1.x86_64.rpm",
        "libsgx-uae-service-2.11.100-11.oe1.x86_64.rpm",
        "libsgx-aesm-quote-ex-plugin-2.11.100-11.oe1.x86_64.rpm",
        "libsgx-dcap-ql-2.11.100-11.oe1.x86_64.rpm",
        "libsgx-dcap-quote-verify-2.11.100-11.oe1.x86_64.rpm",
        "libsgx-dcap-quote-verify-devel-2.11.100-11.oe1.x86_64.rpm",
        "libsgx-aesm-pce-plugin-2.11.100-11.oe1.x86_64.rpm",
        "libsgx-ae-qve-2.11.100-11.oe1.x86_64.rpm",
        "sgx-aesm-service-2.11.100-11.oe1.x86_64.rpm",
        "libsgx-ra-uefi-devel-2.11.100-11.oe1.x86_64.rpm",
        "libsgx-launch-2.11.100-11.oe1.x86_64.rpm",
        "libsgx-quote-ex-devel-2.11.100-11.oe1.x86_64.rpm",
        "libsgx-ra-network-devel-2.11.100-11.oe1.x86_64.rpm",
        "sgx-dcap-pccs-2.11.100-11.oe1.x86_64.rpm",
        "libsgx-ae-epid-2.11.100-11.oe1.x86_64.rpm",
        "libsgx-ae-qe3-2.11.100-11.oe1.x86_64.rpm",
        "libsgx-aesm-ecdsa-plugin-2.11.100-11.oe1.x86_64.rpm",
        "libsgx-qe3-logic-2.11.100-11.oe1.x86_64.rpm",
        "libsgx-urts-2.11.100-11.oe1.x86_64.rpm",
        "libsgx-ae-le-2.11.100-11.oe1.x86_64.rpm",
        "libsgx-ae-pce-2.11.100-11.oe1.x86_64.rpm",
        "libsgx-launch-devel-2.11.100-11.oe1.x86_64.rpm",
        "libsgx-pce-logic-2.11.100-11.oe1.x86_64.rpm",
        "sgx-ra-service-2.11.100-11.oe1.x86_64.rpm",
        "libsgx-aesm-epid-plugin-2.11.100-11.oe1.x86_64.rpm",
        "sgxsdk-2.11.100-11.oe1.x86_64.rpm",
        "libsgx-epid-devel-2.11.100-11.oe1.x86_64.rpm",
        "libsgx-enclave-common-2.11.100-11.oe1.x86_64.rpm"
    ],
    "src": [
        "linux-sgx-2.11.100-11.oe1.src.rpm"
    ]
}

openEuler:22.03-LTS / linux-sgx

Package

Name
linux-sgx
Purl
pkg:rpm/openEuler/linux-sgx&distro=openEuler-22.03-LTS

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.15.1-5.oe2203

Ecosystem specific

{
    "x86_64": [
        "libsgx-urts-2.15.1-5.oe2203.x86_64.rpm",
        "linux-sgx-debugsource-2.15.1-5.oe2203.x86_64.rpm",
        "libsgx-launch-devel-2.15.1-5.oe2203.x86_64.rpm",
        "sgx-ra-service-2.15.1-5.oe2203.x86_64.rpm",
        "libsgx-epid-2.15.1-5.oe2203.x86_64.rpm",
        "libsgx-dcap-default-qpl-devel-2.15.1-5.oe2203.x86_64.rpm",
        "libsgx-aesm-epid-plugin-2.15.1-5.oe2203.x86_64.rpm",
        "libsgx-uae-service-2.15.1-5.oe2203.x86_64.rpm",
        "libsgx-ae-qve-2.15.1-5.oe2203.x86_64.rpm",
        "libsgx-ae-pce-2.15.1-5.oe2203.x86_64.rpm",
        "libsgx-dcap-default-qpl-2.15.1-5.oe2203.x86_64.rpm",
        "libsgx-aesm-pce-plugin-2.15.1-5.oe2203.x86_64.rpm",
        "libsgx-ra-network-2.15.1-5.oe2203.x86_64.rpm",
        "libsgx-headers-2.15.1-5.oe2203.x86_64.rpm",
        "libsgx-qe3-logic-2.15.1-5.oe2203.x86_64.rpm",
        "libsgx-aesm-quote-ex-plugin-2.15.1-5.oe2203.x86_64.rpm",
        "libsgx-enclave-common-2.15.1-5.oe2203.x86_64.rpm",
        "sgx-pck-id-retrieval-tool-2.15.1-5.oe2203.x86_64.rpm",
        "libsgx-dcap-quote-verify-devel-2.15.1-5.oe2203.x86_64.rpm",
        "libsgx-epid-devel-2.15.1-5.oe2203.x86_64.rpm",
        "sgx-dcap-pccs-2.15.1-5.oe2203.x86_64.rpm",
        "libsgx-ae-qe3-2.15.1-5.oe2203.x86_64.rpm",
        "libsgx-dcap-ql-2.15.1-5.oe2203.x86_64.rpm",
        "libsgx-launch-2.15.1-5.oe2203.x86_64.rpm",
        "libsgx-ae-le-2.15.1-5.oe2203.x86_64.rpm",
        "libsgx-aesm-launch-plugin-2.15.1-5.oe2203.x86_64.rpm",
        "libsgx-pce-logic-2.15.1-5.oe2203.x86_64.rpm",
        "linux-sgx-debuginfo-2.15.1-5.oe2203.x86_64.rpm",
        "sgx-aesm-service-2.15.1-5.oe2203.x86_64.rpm",
        "libsgx-enclave-common-devel-2.15.1-5.oe2203.x86_64.rpm",
        "libsgx-aesm-ecdsa-plugin-2.15.1-5.oe2203.x86_64.rpm",
        "libsgx-ra-uefi-devel-2.15.1-5.oe2203.x86_64.rpm",
        "sgxsdk-2.15.1-5.oe2203.x86_64.rpm",
        "libsgx-quote-ex-2.15.1-5.oe2203.x86_64.rpm",
        "libsgx-quote-ex-devel-2.15.1-5.oe2203.x86_64.rpm",
        "libsgx-dcap-quote-verify-2.15.1-5.oe2203.x86_64.rpm",
        "libsgx-dcap-ql-devel-2.15.1-5.oe2203.x86_64.rpm",
        "libsgx-ra-uefi-2.15.1-5.oe2203.x86_64.rpm",
        "libsgx-ra-network-devel-2.15.1-5.oe2203.x86_64.rpm",
        "libsgx-ae-epid-2.15.1-5.oe2203.x86_64.rpm"
    ],
    "src": [
        "linux-sgx-2.15.1-5.oe2203.src.rpm"
    ]
}