The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-2020-5408

CVE-2020-5408: Spring Security Info Disclosure Flaw

CVE-2020-5408 is an information disclosure vulnerability in Spring Security that allows attackers to decrypt encrypted data through dictionary attacks. This article covers technical details, affected versions, and mitigation.

Published: March 4, 2026

CVE-2020-5408 Overview

Spring Security versions 5.3.x prior to 5.3.2, 5.2.x prior to 5.2.4, 5.1.x prior to 5.1.10, 5.0.x prior to 5.0.16 and 4.2.x prior to 4.2.16 use a fixed null initialization vector with CBC Mode in the implementation of the queryable text encryptor. A malicious user with access to the data that has been encrypted using such an encryptor may be able to derive the unencrypted values using a dictionary attack.

Critical Impact

Attackers with access to encrypted data can potentially recover plaintext values through dictionary attacks due to the use of a static null initialization vector in CBC mode encryption.

Affected Products

  • Pivotal Software Spring Security versions 5.3.x prior to 5.3.2
  • Pivotal Software Spring Security versions 5.2.x prior to 5.2.4
  • Pivotal Software Spring Security versions 5.1.x prior to 5.1.10
  • Pivotal Software Spring Security versions 5.0.x prior to 5.0.16
  • Pivotal Software Spring Security versions 4.2.x prior to 4.2.16
  • VMware Spring Security (affected versions)

Discovery Timeline

  • 2020-05-14 - CVE CVE-2020-5408 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2020-5408

Vulnerability Analysis

This vulnerability represents a cryptographic implementation flaw in Spring Security's queryable text encryptor component. The core issue lies in the use of a fixed null (all-zeros) initialization vector (IV) when performing CBC (Cipher Block Chaining) mode encryption. In proper CBC mode implementation, the IV must be unique and unpredictable for each encryption operation to ensure semantic security.

When the same IV is reused across multiple encryption operations, identical plaintext blocks will produce identical ciphertext blocks. This predictability fundamentally undermines the security guarantees of the encryption scheme. An attacker with access to the encrypted data can leverage this weakness to perform a dictionary attack, systematically comparing known plaintext-ciphertext pairs against the target ciphertext to reveal the original values.

The queryable text encryptor is designed for scenarios where encrypted values need to be searchable or comparable, which inherently requires deterministic encryption. However, the implementation's use of a null IV makes it vulnerable to cryptanalysis when an attacker can observe or collect encrypted values over time.

Root Cause

The root cause is the use of a fixed null initialization vector in the CBC mode encryption implementation within Spring Security's queryable text encryptor (Encryptors.queryableText()). CWE-329 (Not Using a Random IV with CBC Mode) and CWE-330 (Use of Insufficiently Random Values) are the underlying weaknesses. CBC mode requires a unique, unpredictable IV for each encryption operation to prevent pattern analysis attacks. By using a static null IV, the encryptor produces deterministic output, allowing attackers to build dictionaries of encrypted values and reverse the encryption through comparison attacks.

Attack Vector

The attack vector is network-based and requires low-privilege authenticated access. An attacker who gains access to data encrypted using the vulnerable queryable text encryptor can perform offline dictionary attacks. The attack methodology involves:

  1. Collecting multiple ciphertext samples encrypted with the vulnerable encryptor
  2. Building a dictionary of common plaintext values and their corresponding ciphertexts
  3. Comparing observed ciphertexts against the dictionary to recover plaintext values
  4. Exploiting the deterministic nature of the encryption to identify patterns and repeated values

The attack does not require direct interaction with the application but relies on access to the encrypted data, whether through database access, log files, network interception, or other data exposure vectors.

Detection Methods for CVE-2020-5408

Indicators of Compromise

  • Presence of Encryptors.queryableText() method calls in application source code
  • Repeated identical ciphertext values in databases or logs indicating potential dictionary attack preparation
  • Unusual database query patterns targeting encrypted columns
  • Evidence of bulk data extraction from encrypted storage

Detection Strategies

  • Perform static code analysis to identify usage of Encryptors.queryableText() in applications using affected Spring Security versions
  • Review application dependencies for Spring Security versions 5.3.x < 5.3.2, 5.2.x < 5.2.4, 5.1.x < 5.1.10, 5.0.x < 5.0.16, or 4.2.x < 4.2.16
  • Implement database activity monitoring to detect suspicious access patterns to encrypted data
  • Use software composition analysis (SCA) tools to inventory vulnerable library versions across the enterprise

Monitoring Recommendations

  • Enable detailed logging for data access operations involving encrypted columns
  • Monitor for mass data export or unusual query volumes against sensitive encrypted data
  • Implement alerting for authentication anomalies that could indicate credential theft via dictionary attacks
  • Establish baseline access patterns and alert on deviations that may indicate exploitation attempts

How to Mitigate CVE-2020-5408

Immediate Actions Required

  • Upgrade Spring Security to patched versions: 5.3.2+, 5.2.4+, 5.1.10+, 5.0.16+, or 4.2.16+
  • Audit applications for usage of Encryptors.queryableText() and assess exposure risk
  • Consider re-encrypting sensitive data after upgrading to ensure compromised data cannot be recovered
  • Review access controls for any data encrypted using the vulnerable encryptor

Patch Information

VMware has released security patches addressing this vulnerability. Refer to the VMware Security Advisory for CVE-2020-5408 for official patch information and upgrade instructions. Additionally, Oracle has addressed this vulnerability in their products through Critical Patch Updates released in October 2020, January 2021, and April 2021.

Workarounds

  • If immediate patching is not possible, avoid using Encryptors.queryableText() for sensitive data until the upgrade is complete
  • Implement additional access controls to limit who can access encrypted data
  • Consider using Encryptors.stronger() which uses proper random IVs, though this will produce non-deterministic ciphertext (not suitable for queryable use cases)
  • Implement application-level encryption with properly randomized IVs as an alternative to the vulnerable encryptor
bash
# Verify Spring Security version in Maven projects
mvn dependency:tree -Dincludes=org.springframework.security:spring-security-core

# Verify Spring Security version in Gradle projects
./gradlew dependencies --configuration runtimeClasspath | grep spring-security

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechPivotal Software

  • SeverityMEDIUM

  • CVSS Score6.5

  • EPSS Probability0.47%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-329

  • CWE-330
  • Technical References
  • Oracle Critical Patch Update April 2021

  • Oracle Critical Patch Update January 2021

  • Oracle Critical Patch Update October 2020
  • Vendor Resources
  • VMware Security Advisory for CVE-2020-5408
  • Latest CVEs
  • CVE-2026-35467: Browser API Key Information Disclosure

  • CVE-2026-35466: cveInterface.js XSS Vulnerability

  • CVE-2026-30252: ZenShare Suite XSS Vulnerability

  • CVE-2026-30251: ZenShare Suite v17.0 XSS Vulnerability
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