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-2021-37533

CVE-2021-37533: Apache Commons Net Info Disclosure Flaw

CVE-2021-37533 is an information disclosure vulnerability in Apache Commons Net's FTP client that allows malicious servers to redirect traffic and leak private network information. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: March 4, 2026

CVE-2021-37533 Overview

CVE-2021-37533 is an input validation vulnerability in Apache Commons Net versions prior to 3.9.0. The FTP client component trusts the host address provided in PASV (passive mode) responses by default, allowing a malicious FTP server to redirect connections to arbitrary hosts. While exploitation requires the victim to initially connect to a malicious server, successful attacks can lead to information leakage about services running on the client's private network.

Critical Impact

A malicious FTP server can redirect Apache Commons Net FTP client connections to internal network hosts, potentially exposing sensitive information about private network services and infrastructure.

Affected Products

  • Apache Commons Net versions prior to 3.9.0
  • Debian Linux 10.0
  • Debian Linux 11.0

Discovery Timeline

  • 2022-12-03 - CVE CVE-2021-37533 published to NVD
  • 2025-04-24 - Last updated in NVD database

Technical Details for CVE-2021-37533

Vulnerability Analysis

This vulnerability stems from improper input validation (CWE-20) in the Apache Commons Net FTP client's handling of PASV mode responses. When an FTP client operates in passive mode, it requests the server provide a host and port for data connections. Prior to version 3.9.0, the Commons Net FTP client blindly trusted the host address returned in PASV responses, which could differ from the original server address.

An attacker operating a malicious FTP server can exploit this trust relationship to redirect the client's data connections to arbitrary hosts on the victim's network. This Server-Side Request Forgery (SSRF) attack pattern enables network reconnaissance and information disclosure about internal services that would otherwise be inaccessible from external networks.

Root Cause

The root cause is improper input validation in the FTP client's PASV response parsing logic. The client failed to validate that the host address returned in PASV responses matched the original server address, defaulting to trusting any host provided by the server. This behavior deviated from security best practices followed by other FTP clients like cURL, which ignore untrusted host redirections by default.

Attack Vector

The attack vector is network-based and requires user interaction. The attack flow involves:

  1. An attacker operates a malicious FTP server accessible to the victim
  2. The victim's application using Apache Commons Net connects to the malicious server
  3. When the client requests passive mode (PASV), the server responds with an internal IP address belonging to the victim's private network
  4. The Commons Net client attempts to connect to the attacker-specified internal host for data transfer
  5. The connection attempt reveals information about internal services (port status, banners, etc.)

This attack enables network scanning and service enumeration of hosts behind the victim's firewall, potentially exposing sensitive infrastructure details. The fix in version 3.9.0 changes the default behavior to ignore untrusted hosts in PASV responses, matching the secure behavior of cURL. For technical details, see the Apache JIRA issue NET-711.

Detection Methods for CVE-2021-37533

Indicators of Compromise

  • FTP client connections initiating unexpected connections to internal network addresses
  • Network traffic showing data connections to hosts different from the original FTP server
  • Anomalous FTP passive mode data transfers targeting internal IP ranges
  • Connection attempts from FTP-enabled applications to non-standard internal services

Detection Strategies

  • Monitor for FTP data connections that do not match the control connection destination
  • Implement network segmentation alerts for FTP clients connecting to restricted internal subnets
  • Review application dependencies for vulnerable Apache Commons Net versions (prior to 3.9.0)
  • Deploy IDS/IPS rules to detect PASV responses containing private IP address ranges

Monitoring Recommendations

  • Enable detailed logging for FTP client operations in applications using Apache Commons Net
  • Monitor egress traffic from systems running vulnerable library versions
  • Implement Software Composition Analysis (SCA) to identify vulnerable dependencies
  • Track connection patterns from FTP-enabled applications for anomalous internal targeting

How to Mitigate CVE-2021-37533

Immediate Actions Required

  • Upgrade Apache Commons Net to version 3.9.0 or later immediately
  • Review all applications using Apache Commons Net for FTP functionality
  • If immediate upgrade is not possible, configure the FTP client to ignore PASV host redirection
  • Audit network traffic from systems using vulnerable library versions for signs of exploitation

Patch Information

Apache has addressed this vulnerability in Commons Net version 3.9.0. The fix changes the default behavior to ignore untrusted hosts in PASV responses, aligning with the security approach used by cURL. Organizations should update their Maven or Gradle dependencies to use version 3.9.0 or later. For Debian systems, security updates are available through DSA-5307 and through the Debian LTS announcement. Additional details are available in the Apache Mailing List Thread.

Workarounds

  • Configure the FTPClient to explicitly set setRemoteVerificationEnabled(true) if upgrading is not immediately possible
  • Implement network-level controls to prevent FTP data connections to internal networks
  • Use application-level firewalls to restrict FTP client outbound connections
  • Consider replacing FTP with more secure file transfer protocols such as SFTP or SCP
bash
# Maven dependency update example
# Update pom.xml to use patched version
# Change: <version>3.8.0</version>
# To: <version>3.9.0</version>

# Verify installed version in Maven projects
mvn dependency:tree -Dincludes=commons-net:commons-net

# For Gradle projects, update build.gradle
# implementation 'commons-net:commons-net:3.9.0'

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechApache Commons Net

  • SeverityMEDIUM

  • CVSS Score6.5

  • EPSS Probability0.21%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-20
  • Technical References
  • OpenWall OSS Security Discussion

  • Debian LTS Announcement

  • Debian Security Advisory DSA-5307
  • Vendor Resources
  • Apache Mailing List Thread
  • 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