CVE Vulnerabilities

CVE-2024-12797

Missing Report of Error Condition

Published: Feb 11, 2025 | Modified: Feb 18, 2025
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
7.4 IMPORTANT
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Ubuntu
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 dont 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 servers 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.4, 3.3, 3.2, 3.1 and 3.0 are not affected by this issue.

Weakness

The product encounters an error but does not provide a status code or return value to indicate that an error has occurred.

Affected Software

Name Vendor Start Version End Version
Discovery 1 for RHEL 9 RedHat discovery/discovery-server-rhel9:1.12.1-2 *
Discovery 1 for RHEL 9 RedHat discovery/discovery-ui-rhel9:1.12.0-2 *
Red Hat Enterprise Linux 9 RedHat openssl-1:3.2.2-6.el9_5.1 *
Red Hat Enterprise Linux 9 RedHat openssl-1:3.2.2-6.el9_5.1 *
RHOL-5.9-RHEL-9 RedHat openshift-logging/cluster-logging-operator-bundle:v5.9.12-13 *
RHOL-5.9-RHEL-9 RedHat openshift-logging/cluster-logging-rhel9-operator:v5.9.12-6 *
RHOL-5.9-RHEL-9 RedHat openshift-logging/eventrouter-rhel9:v0.4.0-341 *
RHOL-5.9-RHEL-9 RedHat openshift-logging/fluentd-rhel9:v5.9.12-3 *
RHOL-5.9-RHEL-9 RedHat openshift-logging/log-file-metric-exporter-rhel9:v1.1.0-322 *
RHOL-5.9-RHEL-9 RedHat openshift-logging/logging-loki-rhel9:v3.3.2-16 *
RHOL-5.9-RHEL-9 RedHat openshift-logging/logging-view-plugin-rhel9:v5.9.12-3 *
RHOL-5.9-RHEL-9 RedHat openshift-logging/loki-operator-bundle:v5.9.12-11 *
RHOL-5.9-RHEL-9 RedHat openshift-logging/loki-rhel9-operator:v5.9.12-4 *
RHOL-5.9-RHEL-9 RedHat openshift-logging/lokistack-gateway-rhel9:v0.1.0-735 *
RHOL-5.9-RHEL-9 RedHat openshift-logging/opa-openshift-rhel9:v0.1.0-351 *
RHOL-5.9-RHEL-9 RedHat openshift-logging/vector-rhel9:v0.34.1-33 *
Service Interconnect 1 for RHEL 9 RedHat service-interconnect/skupper-config-sync-rhel9:1.5.5-5 *
Service Interconnect 1 for RHEL 9 RedHat service-interconnect/skupper-controller-podman-container-rhel9:1.5.5-5 *
Service Interconnect 1 for RHEL 9 RedHat service-interconnect/skupper-controller-podman-rhel9:1.5.5-5 *
Service Interconnect 1 for RHEL 9 RedHat service-interconnect/skupper-flow-collector-rhel9:1.5.5-5 *
Service Interconnect 1 for RHEL 9 RedHat service-interconnect/skupper-operator-bundle:1.5.5-5 *
Service Interconnect 1 for RHEL 9 RedHat service-interconnect/skupper-router-rhel9:2.5.3-7 *
Service Interconnect 1 for RHEL 9 RedHat service-interconnect/skupper-service-controller-rhel9:1.5.5-5 *
Service Interconnect 1 for RHEL 9 RedHat service-interconnect/skupper-site-controller-rhel9:1.5.5-5 *
Builds for Red Hat OpenShift 1.3.1 RedHat registry.redhat.io/openshift-builds/openshift-builds-git-cloner-rhel9:sha256:dc839b2217a61a4ac07cefecc0b5a0cf8c907d7b7114ca15b5ca368f57de921a *
Builds for Red Hat OpenShift 1.3.1 RedHat registry.redhat.io/openshift-builds/openshift-builds-shared-resource-webhook-rhel9:sha256:9a178523f8537a5c3e66b320e15370f01d74702f45eca46f3a34c937518f40a0 *
Builds for Red Hat OpenShift 1.3.1 RedHat registry.redhat.io/openshift-builds/openshift-builds-waiters-rhel9:sha256:1f83f221073a446831be632825290ac124552d26594aa0aff17be2c913586da9 *
Openssl Ubuntu devel *
Openssl Ubuntu oracular *
Openssl Ubuntu upstream *

References