Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2024-12797

CVE-2024-12797: OpenSSL RPK Authentication Bypass Flaw

CVE-2024-12797 is an authentication bypass flaw in OpenSSL's Raw Public Key implementation that enables man-in-the-middle attacks when server authentication fails silently. This article covers technical details, affected versions, and fixes.

Published: January 28, 2026

CVE-2024-12797 Overview

CVE-2024-12797 is an authentication bypass vulnerability affecting OpenSSL's implementation of RFC7250 Raw Public Keys (RPKs). When clients use RPKs to authenticate a server and rely on SSL_VERIFY_PEER verification mode, the TLS/DTLS handshake may fail to abort when server authentication fails, leaving connections vulnerable to man-in-the-middle attacks.

Critical Impact

TLS and DTLS connections using raw public keys may be vulnerable to man-in-the-middle attacks when server authentication failure is not properly detected by clients.

Affected Products

  • OpenSSL 3.2.x (where RPK support was initially introduced)
  • OpenSSL 3.3.x
  • OpenSSL 3.4.x

Discovery Timeline

  • February 11, 2025 - CVE-2024-12797 published to NVD
  • February 11, 2025 - OpenSSL releases security advisory
  • February 18, 2025 - Last updated in NVD database

Technical Details for CVE-2024-12797

Vulnerability Analysis

This vulnerability (CWE-392: Missing Report of Error Condition) occurs in OpenSSL's Raw Public Key authentication mechanism. When a TLS client explicitly enables RPK use by the server and relies on the SSL_VERIFY_PEER verification mode to ensure server authentication, the handshake does not abort as expected when the server's RPK fails to match one of the expected public keys.

The issue is limited in scope because RPKs are disabled by default in both TLS clients and TLS servers. The vulnerability only manifests when both the client explicitly enables RPK use by the server and the server is configured to send an RPK instead of an X.509 certificate chain.

Clients that call SSL_get_verify_result() after the handshake and take appropriate action based on the returned value are not affected, as this function correctly reports the verification failure.

Root Cause

The root cause is a missing error condition report in OpenSSL's RPK implementation. When server authentication fails during the TLS/DTLS handshake with RPK verification enabled, the error condition is not properly propagated to abort the handshake. This was introduced in the initial implementation of RPK support in OpenSSL 3.2.

The FIPS modules in OpenSSL versions 3.4, 3.3, 3.2, 3.1, and 3.0 are not affected by this vulnerability.

Attack Vector

The vulnerability enables network-based man-in-the-middle attacks against TLS/DTLS connections using Raw Public Keys. An attacker positioned between a vulnerable client and server can intercept and potentially modify traffic when the client fails to detect that server authentication has failed.

The attack requires:

  1. A TLS client configured to use RPK for server authentication
  2. A server configured to send RPKs instead of X.509 certificates
  3. The client relying solely on handshake failure for authentication verification
  4. Network position enabling traffic interception

Since RPKs are not commonly deployed (disabled by default), the practical attack surface is limited to environments that have explicitly enabled this feature.

Detection Methods for CVE-2024-12797

Indicators of Compromise

  • Unusual TLS connection patterns where authentication should have failed but connections were established
  • Network traffic anomalies consistent with man-in-the-middle interception on RPK-enabled connections
  • Applications using OpenSSL 3.2+ with RPK enabled that do not explicitly check SSL_get_verify_result()

Detection Strategies

  • Audit application code for TLS implementations using RPK authentication without explicit SSL_get_verify_result() verification
  • Inventory systems running OpenSSL versions 3.2.x, 3.3.x, or 3.4.x and identify those with RPK enabled
  • Monitor for unexpected certificate or key negotiation behaviors in TLS handshakes

Monitoring Recommendations

  • Implement network monitoring to detect potential man-in-the-middle attacks on TLS connections
  • Enable verbose TLS handshake logging to identify authentication verification failures
  • Review application logs for connections that complete successfully despite RPK verification issues

How to Mitigate CVE-2024-12797

Immediate Actions Required

  • Update OpenSSL to the latest patched version addressing this vulnerability
  • Modify client applications to explicitly call SSL_get_verify_result() after handshakes and handle verification failures appropriately
  • If RPK is not required, ensure it remains disabled (default configuration)
  • Audit applications using OpenSSL 3.2+ for RPK usage and verification practices

Patch Information

OpenSSL has released patches addressing this vulnerability. The following commits contain the fixes:

  • OpenSSL Commit 738d4f9
  • OpenSSL Commit 798779d
  • OpenSSL Commit 87ebd20

For complete details, refer to the OpenSSL Security Advisory and NetApp Security Advisory.

Workarounds

  • Implement explicit verification result checking by calling SSL_get_verify_result() after TLS handshakes and taking appropriate action on failures
  • Disable RPK usage if not required for your application (RPK is disabled by default)
  • Consider using X.509 certificate chains instead of RPKs until patches are applied
  • Implement additional network security controls to detect and prevent man-in-the-middle attacks
bash
# Verify OpenSSL version to determine if vulnerable
openssl version -a

# Check if RPK support is enabled in your configuration
# RPK is disabled by default - verify application-level configurations

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechOpenssl

  • SeverityMEDIUM

  • CVSS Score6.3

  • EPSS Probability1.68%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityLow
  • CWE References
  • CWE-392
  • Technical References
  • GitHub OpenSSL Commit Update

  • GitHub OpenSSL Commit Update

  • GitHub OpenSSL Commit Update

  • OpenSSL Security Advisory

  • Openwall OSS-Security Discussion

  • Openwall OSS-Security Discussion

  • NetApp Security Advisory
  • Related CVEs
  • CVE-2025-4575: OpenSSL Auth Bypass Vulnerability

  • CVE-2023-0465: OpenSSL Auth Bypass Vulnerability

  • CVE-2021-3450: OpenSSL CA Certificate Bypass Vulnerability

  • CVE-2026-28389: OpenSSL CMS DoS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English