PT-2022-6127 · Apache+4 · Apache Commons Net+4

Zeddyu Lu

·

Published

2022-03-28

·

Updated

2025-12-16

·

CVE-2021-37533

CVSS v2.0

7.8

High

VectorAV:N/AC:L/Au:N/C:C/I:N/A:N
Name of the Vulnerable Software and Affected Versions Apache Commons Net versions prior to 3.9.0
Description The issue is related to the FTP client in Apache Commons Net, which trusts the host from PASV response by default. This allows a malicious server to redirect the Commons Net code to use a different host, potentially leading to leakage of information about services running on the private network of the client. The default behavior was changed in version 3.9.0 to ignore such hosts.
Recommendations For versions prior to 3.9.0, update to version 3.9.0 or later to change the default behavior and ignore hosts from PASV responses. As a temporary workaround, consider configuring the FTP client to not trust hosts from PASV responses.

Fix

Open Redirect

RCE

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2023-00080
CVE-2021-37533
DLA-3251-1
DSA-5307-1
GHSA-CGP8-4M63-FHH5
OESA-2023-1882
OPENSUSE-SU-2024:12549-1
USN-6037-1

Affected Products

Apache Commons Net
Astra Linux
Linuxmint
Red Os
Ubuntu