snowdensb / nifi

Apache NiFi
https://nifi.apache.org/
Apache License 2.0
0 stars 0 forks source link

commons-configuration2-2.7.jar: 3 vulnerabilities (highest severity is: 9.8) #464

Open mend-for-github-com[bot] opened 4 months ago

mend-for-github-com[bot] commented 4 months ago
Vulnerable Library - commons-configuration2-2.7.jar

Tools to assist in the reading of configuration/preferences files in various formats

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

Path to dependency file: /nifi-nar-bundles/nifi-standard-services/nifi-lookup-services-bundle/nifi-lookup-services/pom.xml

Path to vulnerable library: /r/.m2/repository/org/apache/commons/commons-configuration2/2.7/commons-configuration2-2.7.jar,/r/.m2/repository/org/apache/commons/commons-configuration2/2.7/commons-configuration2-2.7.jar,/r/.m2/repository/org/apache/commons/commons-configuration2/2.7/commons-configuration2-2.7.jar

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (commons-configuration2 version) Remediation Possible** Reachability
CVE-2022-33980 Critical 9.8 commons-configuration2-2.7.jar Direct 2.8.0
CVE-2024-29131 High 7.3 commons-configuration2-2.7.jar Direct 2.10.1
CVE-2024-29133 Medium 4.4 commons-configuration2-2.7.jar Direct 2.10.1

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2022-33980 ### Vulnerable Library - commons-configuration2-2.7.jar

Tools to assist in the reading of configuration/preferences files in various formats

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

Path to dependency file: /nifi-nar-bundles/nifi-standard-services/nifi-lookup-services-bundle/nifi-lookup-services/pom.xml

Path to vulnerable library: /r/.m2/repository/org/apache/commons/commons-configuration2/2.7/commons-configuration2-2.7.jar,/r/.m2/repository/org/apache/commons/commons-configuration2/2.7/commons-configuration2-2.7.jar,/r/.m2/repository/org/apache/commons/commons-configuration2/2.7/commons-configuration2-2.7.jar

Dependency Hierarchy: - :x: **commons-configuration2-2.7.jar** (Vulnerable Library)

Found in base branch: main

### Vulnerability Details

Apache Commons Configuration performs variable interpolation, allowing properties to be dynamically evaluated and expanded. The standard format for interpolation is "${prefix:name}", where "prefix" is used to locate an instance of org.apache.commons.configuration2.interpol.Lookup that performs the interpolation. Starting with version 2.4 and continuing through 2.7, the set of default Lookup instances included interpolators that could result in arbitrary code execution or contact with remote servers. These lookups are: - "script" - execute expressions using the JVM script execution engine (javax.script) - "dns" - resolve dns records - "url" - load values from urls, including from remote servers Applications using the interpolation defaults in the affected versions may be vulnerable to remote code execution or unintentional contact with remote servers if untrusted configuration values are used. Users are recommended to upgrade to Apache Commons Configuration 2.8.0, which disables the problematic interpolators by default.

Publish Date: 2022-07-06

URL: CVE-2022-33980

### CVSS 3 Score Details (9.8)

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://lists.apache.org/thread/tdf5n7j80lfxdhs2764vn0xmpfodm87s

Release Date: 2022-07-06

Fix Resolution: 2.8.0

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
CVE-2024-29131 ### Vulnerable Library - commons-configuration2-2.7.jar

Tools to assist in the reading of configuration/preferences files in various formats

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

Path to dependency file: /nifi-nar-bundles/nifi-standard-services/nifi-lookup-services-bundle/nifi-lookup-services/pom.xml

Path to vulnerable library: /r/.m2/repository/org/apache/commons/commons-configuration2/2.7/commons-configuration2-2.7.jar,/r/.m2/repository/org/apache/commons/commons-configuration2/2.7/commons-configuration2-2.7.jar,/r/.m2/repository/org/apache/commons/commons-configuration2/2.7/commons-configuration2-2.7.jar

Dependency Hierarchy: - :x: **commons-configuration2-2.7.jar** (Vulnerable Library)

Found in base branch: main

### Vulnerability Details

Out-of-bounds Write vulnerability in Apache Commons Configuration.This issue affects Apache Commons Configuration: from 2.0 before 2.10.1. Users are recommended to upgrade to version 2.10.1, which fixes the issue.

Publish Date: 2024-03-21

URL: CVE-2024-29131

### CVSS 3 Score Details (7.3)

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://lists.apache.org/thread/03nzzzjn4oknyw5y0871tw7ltj0t3r37

Release Date: 2024-03-21

Fix Resolution: 2.10.1

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
CVE-2024-29133 ### Vulnerable Library - commons-configuration2-2.7.jar

Tools to assist in the reading of configuration/preferences files in various formats

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

Path to dependency file: /nifi-nar-bundles/nifi-standard-services/nifi-lookup-services-bundle/nifi-lookup-services/pom.xml

Path to vulnerable library: /r/.m2/repository/org/apache/commons/commons-configuration2/2.7/commons-configuration2-2.7.jar,/r/.m2/repository/org/apache/commons/commons-configuration2/2.7/commons-configuration2-2.7.jar,/r/.m2/repository/org/apache/commons/commons-configuration2/2.7/commons-configuration2-2.7.jar

Dependency Hierarchy: - :x: **commons-configuration2-2.7.jar** (Vulnerable Library)

Found in base branch: main

### Vulnerability Details

Out-of-bounds Write vulnerability in Apache Commons Configuration.This issue affects Apache Commons Configuration: from 2.0 before 2.10.1. Users are recommended to upgrade to version 2.10.1, which fixes the issue.

Publish Date: 2024-03-21

URL: CVE-2024-29133

### CVSS 3 Score Details (4.4)

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://lists.apache.org/thread/ccb9w15bscznh6tnp3wsvrrj9crbszh2

Release Date: 2024-03-21

Fix Resolution: 2.10.1

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.

:rescue_worker_helmet:Automatic Remediation will be attempted for this issue.