hapifhir / hapi-fhir

🔥 HAPI FHIR - Java API for HL7 FHIR Clients and Servers
http://hapifhir.io
Apache License 2.0
2.05k stars 1.34k forks source link

CVE-2021-37533 (Medium) detected in commons-net-3.8.0.jar - autoclosed #5162

Closed mend-bolt-for-github[bot] closed 1 year ago

mend-bolt-for-github[bot] commented 1 year ago

CVE-2021-37533 - Medium Severity Vulnerability

Vulnerable Library - commons-net-3.8.0.jar

Apache Commons Net library contains a collection of network utilities and protocol implementations. Supported protocols include: Echo, Finger, FTP, NNTP, NTP, POP3(S), SMTP(S), Telnet, Whois

Library home page: https://commons.apache.org/proper/commons-net/

Path to dependency file: /hapi-fhir-jpaserver-elastic-test-utilities/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/commons-net/commons-net/3.8.0/commons-net-3.8.0.jar,/home/wss-scanner/.m2/repository/commons-net/commons-net/3.8.0/commons-net-3.8.0.jar,/home/wss-scanner/.m2/repository/commons-net/commons-net/3.8.0/commons-net-3.8.0.jar,/home/wss-scanner/.m2/repository/commons-net/commons-net/3.8.0/commons-net-3.8.0.jar,/home/wss-scanner/.m2/repository/commons-net/commons-net/3.8.0/commons-net-3.8.0.jar,/home/wss-scanner/.m2/repository/commons-net/commons-net/3.8.0/commons-net-3.8.0.jar

Dependency Hierarchy: - hapi-fhir-test-utilities-6.9.6-SNAPSHOT.jar (Root Library) - htmlunit-2.67.0.jar - :x: **commons-net-3.8.0.jar** (Vulnerable Library)

Found in HEAD commit: b59f2d05a7d0fd10c7b03bb6f0ebf97757172a71

Found in base branch: master

Vulnerability 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.

Publish Date: 2022-12-03

URL: CVE-2021-37533

CVSS 3 Score Details (6.5)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: Required - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: None - Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://www.cve.org/CVERecord?id=CVE-2021-37533

Release Date: 2022-12-03

Fix Resolution: commons-net:commons-net:3.9.0


Step up your Open Source Security Game with Mend here

mend-bolt-for-github[bot] commented 1 year ago

:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.