keanhankins / ranger

Mirror of Apache Ranger
Apache License 2.0
0 stars 0 forks source link

CVE-2021-37533 (Medium) detected in commons-net-3.6.jar, commons-net-3.1.jar #405

Open mend-for-github-com[bot] opened 1 year ago

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

CVE-2021-37533 - Medium Severity Vulnerability

Vulnerable Libraries - commons-net-3.6.jar, commons-net-3.1.jar

commons-net-3.6.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

Path to dependency file: /plugin-schema-registry/pom.xml

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

Dependency Hierarchy: - :x: **commons-net-3.6.jar** (Vulnerable Library)

commons-net-3.1.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

Path to dependency file: /ranger-hbase-plugin-shim/pom.xml

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

Dependency Hierarchy: - hbase-server-2.0.2.jar (Root Library) - hadoop-common-2.7.7.jar - :x: **commons-net-3.1.jar** (Vulnerable Library)

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

Direct dependency fix Resolution (org.apache.hbase:hbase-server): 2.0.3


:rescue_worker_helmet: Automatic Remediation is available for this issue