GitHub Advisoryadvisory · Maven

GHSA-cgp8-4m63-fhh5 Apache Commons Net vulnerable to information leakage via malicious server

MEDIUM Published 2022-12-03 Modified 2022-12-06 Official page ↗
Aliases
CVE-2021-37533
Ecosystem
Maven
Packages
commons-net:commons-net
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Weaknesses
CWE-20
Reviewed
2022-12-05

Affected packages

• Maven commons-net:commons-net: < 3.9.0 → fixed in 3.9.0

Description

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.

Related

Alias · CVE (1)

  • CVE-2021-37533 Prior to Apache Commons Net 3.9.0, Net's FTP client trusts the host from PASV response by default. vulnerability

Weakness · CWE (1)

  • CWE-20 Improper Input Validation weakness

References