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.
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.
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
**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.jarSpring 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 DetailsIn 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 FixType: 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.jarSpring 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 DetailsThe 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 FixType: 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.