Skip to content
OpenAdvisories
Medium ALSA-2023:0946 8 CVEs

Moderate: openssl security and bug fix update

Published Feb 28, 2023 · Updated Oct 29, 2026

Summary

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: read buffer overflow in X.509 certificate verification (CVE-2022-4203)
* openssl: timing attack in RSA Decryption implementation (CVE-2022-4304)
* openssl: double free after calling PEM_read_bio_ex (CVE-2022-4450)
* openssl: use-after-free following BIO_new_NDEF (CVE-2023-0215)
* openssl: invalid pointer dereference in d2i_PKCS7 functions (CVE-2023-0216)
* openssl: NULL dereference validating DSA public key (CVE-2023-0217)
* openssl: X.400 address type confusion in X.509 GeneralName (CVE-2023-0286)
* openssl: NULL dereference during PKCS7 data verification (CVE-2023-0401)

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):

* HMAC generation should reject key lengths < 112 bits or provide an indicator in FIPS mode (BZ#2144000)
* In FIPS mode, openssl should set a minimum length for passwords in PBKDF2 (BZ#2144003)
* stunnel consumes high amount of memory when pestered with TCP connections without a TLS handshake (BZ#2144008)
* In FIPS mode, openssl should reject SHAKE as digest for RSA-OAEP or provide an indicator (BZ#2144010)
* In FIPS mode, openssl should reject RSASSA-PSS salt lengths larger than the output size of the hash function used, or provide an indicator (BZ#2144012)
* In FIPS mode, openssl should reject RSA signatures with X9.31 padding, or provide an indicator (BZ#2144015)
* In FIPS mode, openssl should reject SHA-224, SHA-384, SHA-512-224, and SHA-512-256 as hashes for hash-based DRBGs, or provide an indicator after 2023-05-16 (BZ#2144017)
* In FIPS mode, openssl should reject KDF input and output key lengths < 112 bits or provide an indicator (BZ#2144019)
* In FIPS mode, openssl should reject RSA keys < 2048 bits when using EVP_PKEY_decapsulate, or provide an indicator (BZ#2145170)
* AlmaLinux9.1 Nightly[0912] - error:03000093:digital envelope routines::command not supported when git clone is run with configured ibmca engine backed by libica.so.4 (OpenSSL 3.0) (BZ#2149010)
* OpenSSL FIPS checksum code needs update (BZ#2158412)

Fixed packages 4

ReleasePackageFixed in
AlmaLinux · 9 openssl 1:3.0.1-47.el9_1
AlmaLinux · 9 openssl-devel 1:3.0.1-47.el9_1
AlmaLinux · 9 openssl-libs 1:3.0.1-47.el9_1
AlmaLinux · 9 openssl-perl 1:3.0.1-47.el9_1

Vulnerabilities 8

  • High 7.5
    CVE-2022-4450 EPSS 29%

    Double free after calling PEM_read_bio_ex

    The function PEM_read_bio_ex() reads a PEM file from a BIO and parses and decodes the "name" (e.g. "CERTIFICATE"), any header data and the payload data. If the function succeeds then the "name_out", "header" and "data" arguments are populated with pointers to…

  • High 7.5

    Use-after-free following BIO_new_NDEF

    The public API function BIO_new_NDEF is a helper function used for streaming ASN.1 data via a BIO. It is primarily used internally to OpenSSL to support the SMIME, CMS and PKCS7 streaming capabilities, but may also be called directly by end user applications.…

  • High 7.5

    Invalid pointer dereference in d2i_PKCS7 functions

    An invalid pointer dereference on read can be triggered when an application tries to load malformed PKCS7 data with the d2i_PKCS7(), d2i_PKCS7_bio() or d2i_PKCS7_fp() functions. The result of the dereference is an application crash which could lead to a denia…

  • High 7.5

    NULL dereference validating DSA public key

    An invalid pointer dereference on read can be triggered when an application tries to check a malformed DSA public key by the EVP_PKEY_public_check() function. This will most likely lead to an application crash. This function can be called on public keys suppl…

  • High 7.5

    NULL dereference during PKCS7 data verification

    A NULL pointer can be dereferenced when signatures are being verified on PKCS7 signed or signedAndEnveloped data. In case the hash algorithm used for the signature is known to the OpenSSL library but the implementation of the hash algorithm is not available t…

  • High 7.4
    CVE-2023-0286 Public exploit EPSS 68%

    X.400 address type confusion in X.509 GeneralName

    There is a type confusion vulnerability relating to X.400 address processing inside an X.509 GeneralName. X.400 addresses were parsed as an ASN1_STRING but the public structure definition for GENERAL_NAME incorrectly specified the type of the x400Address fiel…

  • Medium 5.9
    CVE-2022-4304 Public exploit EPSS 24%

    Timing Oracle in RSA Decryption

    A timing based side channel exists in the OpenSSL RSA Decryption implementation which could be sufficient to recover a plaintext across a network in a Bleichenbacher style attack. To achieve a successful decryption an attacker would have to be able to send a …

  • Medium 4.9

    X.509 Name Constraints Read Buffer Overflow

    A read buffer overrun can be triggered in X.509 certificate verification, specifically in name constraint checking. Note that this occurs after certificate chain signature verification and requires either a CA to have signed the malicious certificate or for t…

References

  • report
    https://access.redhat.com/security/cve/CVE-2022-4203
  • report
    https://access.redhat.com/security/cve/CVE-2022-4304
  • report
    https://access.redhat.com/security/cve/CVE-2022-4450
  • report
    https://access.redhat.com/security/cve/CVE-2023-0215
  • report
    https://access.redhat.com/security/cve/CVE-2023-0216
  • report
    https://access.redhat.com/security/cve/CVE-2023-0217
  • report
    https://access.redhat.com/security/cve/CVE-2023-0286
  • report
    https://access.redhat.com/security/cve/CVE-2023-0401
  • report
    https://bugzilla.redhat.com/2164440
  • report
    https://bugzilla.redhat.com/2164487
  • report
    https://bugzilla.redhat.com/2164488
  • report
    https://bugzilla.redhat.com/2164492
  • report
    https://bugzilla.redhat.com/2164494
  • report
    https://bugzilla.redhat.com/2164497
  • report
    https://bugzilla.redhat.com/2164499
  • report
    https://bugzilla.redhat.com/2164500
  • advisory
    https://errata.almalinux.org/9/ALSA-2023-0946.html