CVE-2021-37533

published 3 Dec 2022 · updated 24 Apr 2025

Apache Commons Net's FTP client trusts the host from PASV response by default

6.5MediumCVSS 6.5EPSS 2%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 2%. Fixed in 3.9.0.

Prior to Apache Commons Net 3.9.0, Net's FTP client trusts the host from PASV response by default. A malicious server can redirect the Commons Net code to use a different host, but the user has to connect to the malicious server in the first place. This may lead to leakage of information about services running on the private network of the client. The default in version 3.9.0 is now false to ignore such hosts, as cURL does. See https://issues.apache.org/jira/browse/NET-711.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Apache Software Foundation>=Apache Commons Net <3.9.03.9.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-37533 severity on Zeptric[![CVE-2021-37533](https://zeptric.io/badge/cve/CVE-2021-37533.svg)](https://zeptric.io/cve/CVE-2021-37533)