openssl-3.0.1-41.el9

エラータID: AXSA:2022-3964:07

Release date: 
Wednesday, November 2, 2022 - 01:56
Subject: 
openssl-3.0.1-41.el9
Affected Channels: 
MIRACLE LINUX 9 for x86_64
Severity: 
Moderate
Description: 

OpenSSL is a toolkit that implements the Secure Sockets Layer (SSL) and Transport Layer Security (TLS) protocols, as well as a full-strength general-purpose cryptography library.

Security Fix(es):

* openssl: c_rehash script allows command injection (CVE-2022-1292)
* openssl: Signer certificate verification returns inaccurate response when using OCSP_NOCHECKS (CVE-2022-1343)
* openssl: OPENSSL_LH_flush() breaks reuse of memory (CVE-2022-1473)
* openssl: the c_rehash script allows command injection (CVE-2022-2068)
* openssl: AES OCB fails to encrypt some bytes (CVE-2022-2097)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Bug Fix(es):

* openssl occasionally sends internal error to gnutls when using FFDHE
* openssl req defaults to 3DES
* OpenSSL accepts custom elliptic curve parameters when p is large
* OpenSSL mustn't work with ECDSA with explicit curve parameters in FIPS mode
* openssl s_server -groups secp256k1 in FIPS fails because X25519/X448
* Converting FIPS power-on self test to KAT
* Small RSA keys work for some operations in FIPS mode
* FIPS provider doesn't block RSA encryption for key transport
* OpenSSL testsuite certificates expired
* [IBM 9.1 HW OPT] POWER10 performance enhancements for cryptography: OpenSSL
* [FIPS lab review] self-test
* [FIPS lab review] DH tuning
* [FIPS lab review] EC tuning
* [FIPS lab review] RSA tuning
* [FIPS lab review] RAND tuning
* [FIPS lab review] zeroization
* [FIPS lab review] HKDF limitations

CVE-2022-1292
The c_rehash script does not properly sanitise shell metacharacters to prevent command injection. 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.3 (Affected 3.0.0,3.0.1,3.0.2). Fixed in OpenSSL 1.1.1o (Affected 1.1.1-1.1.1n). Fixed in OpenSSL 1.0.2ze (Affected 1.0.2-1.0.2zd).
CVE-2022-1343
The function `OCSP_basic_verify` verifies the signer certificate on an OCSP response. In the case where the (non-default) flag OCSP_NOCHECKS is used then the response will be positive (meaning a successful verification) even in the case where the response signing certificate fails to verify. It is anticipated that most users of `OCSP_basic_verify` will not use the OCSP_NOCHECKS flag. In this case the `OCSP_basic_verify` function will return a negative value (indicating a fatal error) in the case of a certificate verification failure. The normal expected return value in this case would be 0. This issue also impacts the command line OpenSSL "ocsp" application. When verifying an ocsp response with the "-no_cert_checks" option the command line application will report that the verification is successful even though it has in fact failed. In this case the incorrect successful response will also be accompanied by error messages showing the failure and contradicting the apparently successful result. Fixed in OpenSSL 3.0.3 (Affected 3.0.0,3.0.1,3.0.2).
CVE-2022-1473
The OPENSSL_LH_flush() function, which empties a hash table, contains a bug that breaks reuse of the memory occuppied by the removed hash table entries. This function is used when decoding certificates or keys. If a long lived process periodically decodes certificates or keys its memory usage will expand without bounds and the process might be terminated by the operating system causing a denial of service. Also traversing the empty hash table entries will take increasingly more time. Typically such long lived processes might be TLS clients or TLS servers configured to accept client certificate authentication. The function was added in the OpenSSL 3.0 version thus older releases are not affected by the issue. Fixed in OpenSSL 3.0.3 (Affected 3.0.0,3.0.1,3.0.2).
CVE-2022-2068
In addition to the c_rehash shell command injection identified in CVE-2022-1292, further circumstances where the c_rehash 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-2097
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).

Solution: 

Update packages.

Additional Info: 

N/A

Download: 

SRPMS
  1. openssl-3.0.1-41.el9.src.rpm
    MD5: 36af73837b344308e8c7d25e139b028f
    SHA-256: d64044671ecb31e732b0d1bc0616dd611f2eb42bf665b04ccd4901765bf23d27
    Size: 10.75 MB

Asianux Server 9 for x86_64
  1. openssl-3.0.1-41.el9.x86_64.rpm
    MD5: 096b28bc5d0454e365ba87d243a1a7aa
    SHA-256: a3e072f541a946d90267025e60a114135a701e0c66bd4f05283d115a4b4d140c
    Size: 1.14 MB
  2. openssl-devel-3.0.1-41.el9.x86_64.rpm
    MD5: b839c6a888b0eedb14642e609f7ec772
    SHA-256: 6ee18770f2c4a8b9b9741e5efef8c1e08bbe1094c4e85cdfc957b0e86d80964a
    Size: 2.95 MB
  3. openssl-libs-3.0.1-41.el9.x86_64.rpm
    MD5: ab6c11b120f652c960108d2a2efc744a
    SHA-256: fb4ea52325468fb2aa44b6fba410df8a22c047f0e96b6c6e218a2f6bb2b73e1d
    Size: 2.13 MB
  4. openssl-perl-3.0.1-41.el9.x86_64.rpm
    MD5: 46d84fda48e1638679307c8d2445568e
    SHA-256: 6b746bb7b6d4031ee3c3b480ba40ac991079d41fafe4bb2c0e6d2a2cf9645db2
    Size: 35.68 kB
  5. openssl-devel-3.0.1-41.el9.i686.rpm
    MD5: 1efb97ede422e8648ab5aec97e22bbda
    SHA-256: 1e06a84ff4ea02d4e1454a410b5b0fa2711ba5c071e65c7b5354ec655e9d2bca
    Size: 2.95 MB
  6. openssl-libs-3.0.1-41.el9.i686.rpm
    MD5: 740fe1050c1f9990857c70a350a4af27
    SHA-256: 71f8196d8a7f83747bd416e63e5d7fe9f3df96b458cdab19ed37dc81e853d22e
    Size: 2.12 MB