Bug 2342757 (CVE-2024-12797) - CVE-2024-12797 openssl: RFC7250 handshakes with unauthenticated servers don't abort as expected
Summary: CVE-2024-12797 openssl: RFC7250 handshakes with unauthenticated servers don't...
Keywords:
Status: NEW
Alias: CVE-2024-12797
Deadline: 2025-02-11
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2345072 2345070 2345071 2345073
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-01-29 09:28 UTC by OSIDB Bzimport
Modified: 2025-04-06 19:16 UTC (History)
36 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2025:1436 0 None None None 2025-02-13 14:29:09 UTC
Red Hat Product Errata RHBA-2025:1439 0 None None None 2025-02-13 14:44:52 UTC
Red Hat Product Errata RHBA-2025:1486 0 None None None 2025-02-13 19:44:40 UTC
Red Hat Product Errata RHBA-2025:1542 0 None None None 2025-02-17 08:21:23 UTC
Red Hat Product Errata RHBA-2025:1683 0 None None None 2025-02-19 17:08:58 UTC
Red Hat Product Errata RHBA-2025:1938 0 None None None 2025-02-27 17:48:45 UTC
Red Hat Product Errata RHBA-2025:3085 0 None None None 2025-03-20 14:35:38 UTC
Red Hat Product Errata RHSA-2025:1330 0 None None None 2025-02-11 16:38:04 UTC
Red Hat Product Errata RHSA-2025:1487 0 None None None 2025-02-13 20:14:57 UTC
Red Hat Product Errata RHSA-2025:1925 0 None None None 2025-02-27 15:19:54 UTC

Description OSIDB Bzimport 2025-01-29 09:28:12 UTC
Severity: (High)
Issue summary: Clients using RFC7250 Raw Public Keys (RPKs) to authenticate a
server may fail to notice that the server was not authenticated, because
handshakes don't abort as expected when the SSL_VERIFY_PEER verification mode
is set.
Impact summary: TLS and DTLS connections using raw public keys may be
vulnerable to man-in-middle attacks when server authentication failure is not
detected by clients.
RPKs are disabled by default in both TLS clients and TLS servers. The issue
only arises when TLS clients explicitly enable RPK use by the server, and the
server, likewise, enables sending of an RPK instead of an X.509 certificate
chain. The affected clients are those that then rely on the handshake to
fail when the server's RPK fails to match one of the expected public keys,
by setting the verification mode to SSL_VERIFY_PEER.
Clients that enable server-side raw public keys can still find out that raw
public key verification failed by calling SSL_get_verify_result(), and those
that do, and take appropriate action, are not affected. This issue was
introduced in the initial implementation of RPK support in OpenSSL 3.2.
The FIPS modules in 3.3, 3.2, 3.1 and 3.0 are not affected by this issue.
OpenSSL 3.4, 3.3 and 3.2 are vulnerable to this issue.
OpenSSL 3.4 users should upgrade to OpenSSL 3.4.1 once it is released.
OpenSSL 3.3 users should upgrade to OpenSSL 3.3.2 once it is released.
OpenSSL 3.2 users should upgrade to OpenSSL 3.2.4 once it is released.
This issue was reported on 18th December 2024 by Apple Inc.
The fix was developed by Viktor Dukhovni.

Comment 2 errata-xmlrpc 2025-02-11 16:38:02 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2025:1330 https://access.redhat.com/errata/RHSA-2025:1330

Comment 3 errata-xmlrpc 2025-02-13 20:14:54 UTC
This issue has been addressed in the following products:

  Discovery 1 for RHEL 9

Via RHSA-2025:1487 https://access.redhat.com/errata/RHSA-2025:1487

Comment 4 errata-xmlrpc 2025-02-27 15:19:50 UTC
This issue has been addressed in the following products:

  Service Interconnect 1 for RHEL 9

Via RHSA-2025:1925 https://access.redhat.com/errata/RHSA-2025:1925


Note You need to log in before you can comment on or make changes to this bug.