IBM SECURITY ADVISORY First Issued: Tue Jan 24 09:22:21 CST 2023 The most recent version of this document is available here: https://aix.software.ibm.com/aix/efixes/security/openssl_advisory37.asc Security Bulletin: Multiple vulnerabilities in OpenSSL affect AIX =============================================================================== SUMMARY: Vulnerabilities in OpenSSL could allow a remote attacker to cause a buffer overflow (CVE-2022-3602), cause a denial of service (CVE-2022-3786), or obtain sensitive information (CVE-2022-3358). OpenSSL is used by AIX as part of AIX's secure network communications. =============================================================================== VULNERABILITY DETAILS: CVEID: CVE-2022-3602 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-3602 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-3602 DESCRIPTION: OpenSSL is vulnerable to a stack-based buffer overflow, caused by improper bounds checking during X.509 certificate verification. By using a specially-crafted email address, a remote attacker could overflow a buffer and execute arbitrary code or cause the application to crash. CVSS Base Score: 7.5 CVSS Temporal Score: See https://exchange.xforce.ibmcloud.com/vulnerabilities/239161 for the current score CVSS Environmental Score*: Undefined CVSS Vector:(CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) CVEID: CVE-2022-3786 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-3786 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-3786 DESCRIPTION: OpenSSL is vulnerable to a denial of service, caused by a stack based buffer overflow during X.509 certificate verification. By using a specially-crafted email address in a certificate, a remote attacker could exploit this vulnerability to cause a TLS client to crash, and results in a denial of service condition. CVSS Base Score: 7.5 CVSS Temporal Score: See https://exchange.xforce.ibmcloud.com/vulnerabilities/239165 for the current score CVSS Environmental Score*: Undefined CVSS Vector:(CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) CVEID: CVE-2022-3358 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-3358 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-3358 DESCRIPTION: OpenSSL could allow a remote attacker to obtain sensitive information, caused by the improper handling of legacy custom ciphers passed to the EVP_EncryptInit_ex2(), EVP_DecryptInit_ex2() and EVP_CipherInit_ex2() functions. By creating a custom cipher with NID_undef using the legacy EVP_CIPHER_meth_new()function, a remote attacker could exploit this vulnerability force the use of a NULL cipher and emit the plaintext as the ciphertext. CVSS Base Score: 5.3 CVSS Temporal Score: See https://exchange.xforce.ibmcloud.com/vulnerabilities/238264 for the current score CVSS Environmental Score*: Undefined CVSS Vector:(CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N) AFFECTED PRODUCTS AND VERSIONS: AIX 7.3 TL1 The following fileset levels are vulnerable: key_fileset = osrcaix Fileset Lower Level Upper Level KEY ------------------------------------------------------ openssl.base 3.0.5.101 3.0.5.101 key_w_fs Note: A. 0.9.8, 1.0.1 OpenSSL versions are out-of-support. Support for OpenSSL 1.0.2 version ends by December 2023. Customers are advised to upgrade to OpenSSL 1.1.1 or 3.0 version. B. Latest level of OpenSSL fileset is available from the web download site: https://www-01.ibm.com/marketing/iwm/iwm/web/pickUrxNew.do?source=aixbp&S_PKG=openssl To find out whether the affected filesets are installed on your systems, refer to the lslpp command found in the AIX user's guide. Example: lslpp -L | grep -i openssl.base REMEDIATION: FIXES IBM strongly recommends addressing the vulnerability now. A fix is available, and it can be downloaded from: https://www-01.ibm.com/marketing/iwm/iwm/web/pickUrxNew.do?source=aixbp&S_PKG=openssl To extract the fixes from the tar file: zcat openssl-3.0.7.1000.tar.Z | tar xvf - IMPORTANT: If possible, it is recommended that a mksysb backup of the system be created. Verify it is both bootable and readable before proceeding. Note that all the previously reported security vulnerability fixes are also included in above mentioned fileset level. Please refer to the readme file (provided along with the fileset) for the complete list of vulnerabilities fixed. To preview the fix installation: installp -apYd . openssl To install the fix package: installp -aXYd . openssl openssl dgst -sha256 -verify [pubkey_file] -signature [advisory_file].sig [advisory_file] openssl dgst -sha256 -verify [pubkey_file] -signature [ifix_file].sig [ifix_file] Published advisory OpenSSL signature file location: https://aix.software.ibm.com/aix/efixes/security/openssl_advisory37.asc.sig WORKAROUNDS AND MITIGATIONS: None. =============================================================================== CONTACT US: Note: Keywords labeled as KEY in this document are used for parsing purposes. If you would like to receive AIX Security Advisories via email, please visit "My Notifications": https://www.ibm.com/support/mynotifications To view previously issued advisories, please visit: https://www14.software.ibm.com/webapp/set2/subscriptions/onvdq Contact IBM Support for questions related to this announcement: https://ibm.com/support/ To obtain the OpenSSL public key that can be used to verify the signed advisories and ifixes: Download the key from our web page: ftp://ftp.software.ibm.com/systems/power/AIX/systems_p_os_aix_security_pubkey.txt Please contact your local IBM AIX support center for any assistance. REFERENCES: Review this information as needed, no action required. Complete CVSS v3 Guide: https://www.first.org/cvss/user-guide On-line Calculator v3: https://www.first.org/cvss/calculator/3.0 RELATED INFORMATION: Security Bulletin: Multiple vulnerabilities in OpenSSL affect AIX https://www.ibm.com/support/pages/node/6857295 ACKNOWLEDGEMENTS: None. CHANGE HISTORY: First Issued: Tue Jan 24 09:22:21 CST 2023 =============================================================================== *The CVSS Environment Score is customer environment specific and will ultimately impact the Overall CVSS Score. Customers can evaluate the impact of this vulnerability in their environments by accessing the links in the Reference section of this Security Bulletin. Disclaimer According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.