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
    • 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-2023-20897

CVE-2023-20897: SaltStack Salt DOS Vulnerability

CVE-2023-20897 is a denial of service vulnerability in SaltStack Salt that causes masters to become unresponsive after receiving bad packets. This article covers the technical details, affected versions, and mitigation.

Published: February 4, 2026

CVE-2023-20897 Overview

CVE-2023-20897 is a Denial of Service (DoS) vulnerability affecting SaltStack Salt masters in versions prior to 3005.2 and 3006.2. The vulnerability exists in the minion return handling mechanism, where an attacker can send specially crafted malicious packets to the request server. When the number of bad packets equals the number of worker threads configured on the master, the Salt master becomes completely unresponsive to all return requests until it is manually restarted.

Critical Impact

Successful exploitation renders the Salt master unresponsive, disrupting infrastructure automation and configuration management across all connected minions until manual intervention restarts the service.

Affected Products

  • SaltStack Salt versions prior to 3005.2
  • SaltStack Salt versions prior to 3006.2

Discovery Timeline

  • 2023-09-05 - CVE CVE-2023-20897 published to NVD
  • 2025-02-13 - Last updated in NVD database

Technical Details for CVE-2023-20897

Vulnerability Analysis

This vulnerability is classified under CWE-404 (Improper Resource Shutdown or Release), indicating a flaw in how the Salt master handles resource cleanup when processing malformed network packets. The Salt master utilizes a worker thread pool to process incoming requests from minions. Each worker thread is designed to handle return requests independently, but the vulnerability allows an attacker to exhaust all available worker threads by sending malicious packets.

The attack can be executed remotely over the network without requiring any authentication or user interaction, making it relatively straightforward for attackers with network access to the Salt master. The impact is limited to availability, with no direct effect on confidentiality or integrity of the system.

Root Cause

The root cause lies in improper resource handling within the request server component. When the Salt master receives malformed packets, the worker threads fail to properly release resources or recover from the error state. This resource management flaw (CWE-404) means that each bad packet effectively locks up one worker thread. Once all worker threads are occupied by these stuck operations, no legitimate minion return requests can be processed.

Attack Vector

The attack exploits the network-accessible request server on the Salt master. An attacker sends a series of specially crafted bad packets to the Salt master's request server port. The number of packets required equals the worker thread count configured on the target system (typically a small number, often matching CPU cores). Once executed, the master cannot process any return requests from minions, effectively breaking the Salt infrastructure's command and control capabilities.

The vulnerability mechanism can be understood as follows: When a malformed packet is received by the request server, the worker thread assigned to process it enters a blocked or hung state instead of gracefully handling the error and returning to the available thread pool. This design flaw means that an attacker with knowledge of the worker thread count can systematically disable each thread until none remain available for legitimate operations.

Detection Methods for CVE-2023-20897

Indicators of Compromise

  • Salt master becoming unresponsive to minion return requests without corresponding system resource exhaustion
  • Unusual network traffic patterns targeting the Salt master request server port
  • Worker threads appearing stuck or non-responsive in process monitoring
  • Repeated malformed packet requests in Salt master logs from single or multiple sources

Detection Strategies

  • Monitor Salt master responsiveness with automated health checks that test return request processing
  • Implement network traffic analysis to detect anomalous packet patterns targeting Salt infrastructure
  • Configure alerting on Salt master service availability and worker thread utilization
  • Review Salt master logs for patterns of malformed or rejected packet handling errors

Monitoring Recommendations

  • Set up continuous monitoring for Salt master service availability and response times
  • Implement baseline metrics for worker thread activity and alert on deviations
  • Deploy network intrusion detection rules for suspicious traffic to Salt master ports
  • Establish automated recovery procedures with alerting for unexpected Salt master restarts

How to Mitigate CVE-2023-20897

Immediate Actions Required

  • Upgrade SaltStack Salt to version 3005.2 or later for the 3005.x branch
  • Upgrade SaltStack Salt to version 3006.2 or later for the 3006.x branch
  • Implement network segmentation to limit access to Salt master request server ports
  • Review and restrict which systems can communicate with the Salt master

Patch Information

SaltStack has released patched versions addressing this vulnerability. Organizations should upgrade to SaltStack Salt version 3005.2 or 3006.2 or later. The official security advisory is available from the Salt Project Security Advisory. Fedora users can find package updates via the Fedora Package Announcement.

Workarounds

  • Restrict network access to Salt master ports using firewall rules to trusted minion IP addresses only
  • Implement rate limiting on incoming connections to the Salt master request server
  • Deploy a reverse proxy or load balancer with connection filtering in front of the Salt master
  • Increase monitoring sensitivity for Salt master availability to enable rapid manual restarts if exploitation occurs
bash
# Example firewall configuration to restrict Salt master access
# Allow only trusted minion networks to access Salt master ports
iptables -A INPUT -p tcp --dport 4505 -s 10.0.0.0/8 -j ACCEPT
iptables -A INPUT -p tcp --dport 4506 -s 10.0.0.0/8 -j ACCEPT
iptables -A INPUT -p tcp --dport 4505 -j DROP
iptables -A INPUT -p tcp --dport 4506 -j DROP

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechSaltstack Salt

  • SeverityMEDIUM

  • CVSS Score5.3

  • EPSS Probability0.11%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-404
  • Technical References
  • Fedora Package Announcement
  • Vendor Resources
  • Salt Project Security Advisory
  • Related CVEs
  • CVE-2020-11651: SaltStack Salt Auth Bypass Vulnerability

  • CVE-2020-11652: SaltStack Salt Path Traversal Vulnerability

  • CVE-2020-16846: SaltStack Salt RCE Vulnerability

  • CVE-2022-22967: SaltStack Salt Auth Bypass 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