Hide Forgot
The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the issuer field (which might occur if the issuer field is maliciously constructed). This may subsequently result in a NULL pointer deref and a crash leading to a potential denial of service attack. The function X509_issuer_and_serial_hash() is never directly called by OpenSSL itself so applications are only vulnerable if they use this function directly and they use it on certificates that may have been obtained from untrusted sources. OpenSSL versions 1.1.1i and below are affected by this issue. Users of these versions should upgrade to OpenSSL 1.1.1j. OpenSSL versions 1.0.2x and below are affected by this issue. However OpenSSL 1.0.2 is out of support and no longer receiving public updates. Premium support customers of OpenSSL 1.0.2 should upgrade to 1.0.2y. Other users should upgrade to 1.1.1j. Fixed in OpenSSL 1.1.1j (Affected 1.1.1-1.1.1i). Fixed in OpenSSL 1.0.2y (Affected 1.0.2-1.0.2x). Reference: https://www.openssl.org/news/secadv/20210216.txt
Created compat-openssl10 tracking bugs for this issue: Affects: fedora-all [bug 1930313] Created mingw-openssl tracking bugs for this issue: Affects: fedora-all [bug 1930312] Created openssl tracking bugs for this issue: Affects: fedora-all [bug 1930311] Created openssl11 tracking bugs for this issue: Affects: epel-7 [bug 1930315]
Mitigation: As per upstream "The function X509_issuer_and_serial_hash() is never directly called by OpenSSL itself so applications are only vulnerable if they use this function directly and they use it on certificates that may have been obtained from untrusted sources."
Statement: This is a a null pointer dereference in the X509_issuer_and_serial_hash() function, which can result in crash if called by an application compiled with OpenSSL, by passing a specially-crafted certificate. OpenSSL internally does not use this function.
External References: https://www.openssl.org/news/secadv/20210216.txt
Upstream commit: https://github.com/openssl/openssl/commit/8130d654d1de922ea224fa18ee3bc7262edc39c0 Upstream test for reproducing this at: https://github.com/openssl/openssl/commit/55869f594f052561b11a2db6a7c42690051868de
This vulnerability is out of security support scope for the following product: * Red Hat JBoss Enterprise Application Platform 6 Please refer to https://access.redhat.com/support/policy/updates/jboss_notes for more details.
This issue has been addressed in the following products: Red Hat Advanced Cluster Management for Kubernetes 2.2 for RHEL 8 Red Hat Advanced Cluster Management for Kubernetes 2.2 for RHEL 7 Via RHSA-2021:1168 https://access.redhat.com/errata/RHSA-2021:1168
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s): https://access.redhat.com/security/cve/cve-2021-23841
I see this is closed, but RHEL7 still shows as affected here: https://access.redhat.com/security/cve/cve-2021-23840 Can you please update it? Thanks -jim
This issue has been addressed in the following products: Red Hat Advanced Cluster Management for Kubernetes 2.3 for RHEL 7 Red Hat Advanced Cluster Management for Kubernetes 2.3 for RHEL 8 Via RHSA-2021:3016 https://access.redhat.com/errata/RHSA-2021:3016
This issue has been addressed in the following products: Red Hat Enterprise Linux 7 Via RHSA-2021:3798 https://access.redhat.com/errata/RHSA-2021:3798
This issue has been addressed in the following products: Red Hat Enterprise Linux 8 Via RHSA-2021:4198 https://access.redhat.com/errata/RHSA-2021:4198
This issue has been addressed in the following products: Red Hat Enterprise Linux 8 Via RHSA-2021:4424 https://access.redhat.com/errata/RHSA-2021:4424
This issue has been addressed in the following products: Red Hat JBoss Core Services Via RHSA-2021:4613 https://access.redhat.com/errata/RHSA-2021:4613
This issue has been addressed in the following products: JBoss Core Services on RHEL 7 JBoss Core Services for RHEL 8 Via RHSA-2021:4614 https://access.redhat.com/errata/RHSA-2021:4614