Improper Input Validation Affecting libcommons-net-java package, versions <3.9.0-1


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
1.86% (77th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN14-LIBCOMMONSNETJAVA-11747572
  • published10 Aug 2025
  • disclosed3 Dec 2022

Introduced: 3 Dec 2022

CVE-2021-37533  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade Debian:14 libcommons-net-java to version 3.9.0-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libcommons-net-java package and not the libcommons-net-java package as distributed by Debian. See How to fix? for Debian:14 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1