OESA-2022-1899

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2022-1899
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2022-1899.json
JSON Data
https://api.test.osv.dev/v1/vulns/OESA-2022-1899
Upstream
Published
2022-09-08T11:04:15Z
Modified
2025-08-12T05:11:59.606308Z
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):

In addition to the crehash shell command injection identified in CVE-2022-1292, further circumstances where the crehash script does not properly sanitise shell metacharacters to prevent command injection were found by code review. When the CVE-2022-1292 was fixed it was not discovered that there are other places in the script where the file names of certificates being hashed were possibly passed to a command executed through the shell. This script is distributed by some operating systems in a manner where it is automatically executed. On such operating systems, an attacker could execute arbitrary commands with the privileges of the script. Use of the c_rehash script is considered obsolete and should be replaced by the OpenSSL rehash command line tool. Fixed in OpenSSL 3.0.4 (Affected 3.0.0,3.0.1,3.0.2,3.0.3). Fixed in OpenSSL 1.1.1p (Affected 1.1.1-1.1.1o). Fixed in OpenSSL 1.0.2zf (Affected 1.0.2-1.0.2ze).(CVE-2022-2068)

AES OCB mode for 32-bit x86 platforms using the AES-NI assembly optimised implementation will not encrypt the entirety of the data under some circumstances. This could reveal sixteen bytes of data that was preexisting in the memory that wasn't written. In the special case of "in place" encryption, sixteen bytes of the plaintext would be revealed. Since OpenSSL does not support OCB based cipher suites for TLS and DTLS, they are both unaffected. Fixed in OpenSSL 3.0.5 (Affected 3.0.0-3.0.4). Fixed in OpenSSL 1.1.1q (Affected 1.1.1-1.1.1p).(CVE-2022-2097)

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

{
    "src": [
        "linux-sgx-2.11.100-11.oe1.src.rpm"
    ],
    "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"
    ]
}

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

{
    "src": [
        "linux-sgx-2.11.100-11.oe1.src.rpm"
    ],
    "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"
    ]
}

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

{
    "src": [
        "linux-sgx-2.15.1-5.oe2203.src.rpm"
    ],
    "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"
    ]
}