Skip to content

CVE-2022-22968 (Medium) detected in spring-context-5.1.5.RELEASE.jar, spring-context-5.2.6.RELEASE.jar #506

@mend-for-github-com

Description

@mend-for-github-com

CVE-2022-22968 - Medium Severity Vulnerability

Vulnerable Libraries - spring-context-5.1.5.RELEASE.jar, spring-context-5.2.6.RELEASE.jar

spring-context-5.1.5.RELEASE.jar

Spring Context

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

Path to vulnerable library: /home/wss-scanner/.ivy2/cache/org.springframework/spring-context/jars/spring-context-5.1.5.RELEASE.jar

Dependency Hierarchy:

  • play-java-forms_2.13-2.7.5.jar (Root Library)
    • spring-context-5.1.5.RELEASE.jar (Vulnerable Library)
spring-context-5.2.6.RELEASE.jar

Spring Context

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

Path to dependency file: /dd-smoke-tests/springboot-openliberty/application/pom.xml

Path to vulnerable library: /dd-smoke-tests/springboot-openliberty/application/target/liberty/wlp/usr/shared/resources/lib.index.cache/1c/b7f9962d82fe3a8168001285b1147dafcb6388cf6ae5b673db78f34251ec52/spring-context-5.2.6.RELEASE.jar,/home/wss-scanner/.ivy2/cache/org.springframework/spring-context/jars/spring-context-5.2.6.RELEASE.jar,/home/wss-scanner/.m2/repository/org/springframework/spring-context/5.2.6.RELEASE/spring-context-5.2.6.RELEASE.jar

Dependency Hierarchy:

  • spring-context-5.2.6.RELEASE.jar (Vulnerable Library)

Found in HEAD commit: 2819174635979a19573ec0ce8e3e2b63a3848079

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 (org.springframework:spring-context): 5.2.21.RELEASE

Direct dependency fix Resolution (com.typesafe.play:play-java-forms_2.13): 2.8.18


  • Check this box to open an automated fix PR

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions