UBUNTU-CVE-2024-12797

Source
https://ubuntu.com/security/CVE-2024-12797
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-12797.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2024-12797
Related
Published
2025-02-11T00:00:00Z
Modified
2025-02-13T04:30:55Z
Summary
[none]
Details

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 SSLVERIFYPEER 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 SSLVERIFYPEER. Clients that enable server-side raw public keys can still find out that raw public key verification failed by calling SSLgetverify_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.

References

Affected packages

Ubuntu:24.10 / openssl

Package

Name
openssl
Purl
pkg:deb/ubuntu/openssl@3.3.1-2ubuntu2.1?arch=source&distro=oracular

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.3.1-2ubuntu2.1

Affected versions

3.*

3.0.13-0ubuntu3
3.0.13-0ubuntu4
3.2.1-3ubuntu1
3.2.2-1ubuntu1
3.2.2-1ubuntu3
3.3.1-2ubuntu1
3.3.1-2ubuntu2

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "high",
    "binaries": [
        {
            "binary_version": "3.3.1-2ubuntu2.1",
            "binary_name": "libssl-dev"
        },
        {
            "binary_version": "3.3.1-2ubuntu2.1",
            "binary_name": "libssl-doc"
        },
        {
            "binary_version": "3.3.1-2ubuntu2.1",
            "binary_name": "libssl3t64"
        },
        {
            "binary_version": "3.3.1-2ubuntu2.1",
            "binary_name": "libssl3t64-dbgsym"
        },
        {
            "binary_version": "3.3.1-2ubuntu2.1",
            "binary_name": "openssl"
        },
        {
            "binary_version": "3.3.1-2ubuntu2.1",
            "binary_name": "openssl-dbgsym"
        }
    ],
    "priority_reason": "OpenSSL developers have rated this of high severity"
}