GHSA-cgp8-4m63-fhh5

Suggest an improvement
Source
https://github.com/advisories/GHSA-cgp8-4m63-fhh5
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/12/GHSA-cgp8-4m63-fhh5/GHSA-cgp8-4m63-fhh5.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-cgp8-4m63-fhh5
Aliases
Published
2022-12-03T15:30:26Z
Modified
2023-11-08T04:06:18.513983Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N CVSS Calculator
Summary
Apache Commons Net vulnerable to information leakage via malicious server
Details

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.

Database specific
{
    "nvd_published_at": "2022-12-03T15:15:00Z",
    "github_reviewed_at": "2022-12-05T23:21:08Z",
    "severity": "MODERATE",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-20"
    ]
}
References

Affected packages

Maven / commons-net:commons-net

Package

Name
commons-net:commons-net
View open source insights on deps.dev
Purl
pkg:maven/commons-net/commons-net

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.9.0

Affected versions

1.*

1.0.0
1.1.0
1.2.0
1.2.1
1.2.2
1.3.0
1.4.0
1.4.1

2.*

2.0
2.2

3.*

3.0
3.0.1
3.1
3.2
3.3
3.4
3.5
3.6
3.7
3.7.1
3.7.2
3.8.0