TreyM-WSS / Struts2-Examples

Struts2 Examples
0 stars 0 forks source link

CVE-2022-22968 (Medium) detected in spring-context-3.2.0.RELEASE.jar, spring-context-3.0.5.RELEASE.jar #268

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

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

CVE-2022-22968 - Medium Severity Vulnerability

Vulnerable Libraries - spring-context-3.2.0.RELEASE.jar, spring-context-3.0.5.RELEASE.jar

spring-context-3.2.0.RELEASE.jar

Spring Context

Library home page: https://github.com/SpringSource/spring-framework

Path to dependency file: /Struts2Spring3Hibernate/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-context/3.2.0.RELEASE/spring-context-3.2.0.RELEASE.jar,/Struts2Spring3Hibernate/target/Struts2Spring3Hibernate3/WEB-INF/lib/spring-context-3.2.0.RELEASE.jar

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

spring-context-3.0.5.RELEASE.jar

Spring Framework Parent

Path to dependency file: /Struts2Junit4/pom.xml

Path to vulnerable library: /Struts2Junit4/target/Struts2Junit4-1.0/WEB-INF/lib/spring-context-3.0.5.RELEASE.jar,/home/wss-scanner/.m2/repository/org/springframework/spring-context/3.0.5.RELEASE/spring-context-3.0.5.RELEASE.jar

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

Found in HEAD commit: 4a2d705eb04097186f260a255e43e17302189741

Found in base branch: master

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.2.21.RELEASE


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