snowdensb / nifi

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

spring-context-5.3.9.jar: 2 vulnerabilities (highest severity is: 5.3) #473

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

mend-for-github-com[bot] commented 5 months ago
Vulnerable Library - spring-context-5.3.9.jar

Spring Context

Library home page: https://spring.io/projects/spring-framework

Path to dependency file: /nifi-nar-bundles/nifi-spring-bundle/nifi-spring-processors/pom.xml

Path to vulnerable library: /nifi-nar-bundles/nifi-spring-bundle/nifi-spring-processors/pom.xml

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (spring-context version) Remediation Possible** Reachability
CVE-2022-22968 Medium 5.3 spring-context-5.3.9.jar Direct 5.3.19
CVE-2024-38820 Low 3.1 spring-context-5.3.9.jar Direct 6.1.14

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

Details

CVE-2022-22968 ### Vulnerable Library - spring-context-5.3.9.jar

Spring Context

Library home page: https://spring.io/projects/spring-framework

Path to dependency file: /nifi-nar-bundles/nifi-spring-bundle/nifi-spring-processors/pom.xml

Path to vulnerable library: /nifi-nar-bundles/nifi-spring-bundle/nifi-spring-processors/pom.xml

Dependency Hierarchy: - :x: **spring-context-5.3.9.jar** (Vulnerable Library)

Found in base branch: main

### Vulnerability Details

In Spring Framework versions 5.3.0 - 5.3.18, 5.2.0 - 5.2.20, and older unsupported versions, the patterns for disallowedFields on a DataBinder are case sensitive which means a field is not effectively protected unless it is listed with both upper and lower case for the first character of the field, including upper and lower case for the first character of all nested fields within the property path.

Publish Date: 2022-04-14

URL: CVE-2022-22968

### CVSS 3 Score Details (5.3)

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://tanzu.vmware.com/security/cve-2022-22968

Release Date: 2022-04-14

Fix Resolution: 5.3.19

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
CVE-2024-38820 ### Vulnerable Library - spring-context-5.3.9.jar

Spring Context

Library home page: https://spring.io/projects/spring-framework

Path to dependency file: /nifi-nar-bundles/nifi-spring-bundle/nifi-spring-processors/pom.xml

Path to vulnerable library: /nifi-nar-bundles/nifi-spring-bundle/nifi-spring-processors/pom.xml

Dependency Hierarchy: - :x: **spring-context-5.3.9.jar** (Vulnerable Library)

Found in base branch: main

### Vulnerability Details

The fix for CVE-2022-22968 made disallowedFields patterns in DataBinder case insensitive. However, String.toLowerCase() has some Locale dependent exceptions that could potentially result in fields not protected as expected.

Publish Date: 2024-10-18

URL: CVE-2024-38820

### CVSS 3 Score Details (3.1)

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://spring.io/security/cve-2024-38820

Release Date: 2024-10-18

Fix Resolution: 6.1.14

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

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