Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CVE-2022-22950 (Medium) detected in multiple libraries #1346

Open
mend-for-github-com bot opened this issue Mar 30, 2022 · 0 comments
Open

CVE-2022-22950 (Medium) detected in multiple libraries #1346

mend-for-github-com bot opened this issue Mar 30, 2022 · 0 comments
Labels
security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-for-github-com
Copy link

mend-for-github-com bot commented Mar 30, 2022

CVE-2022-22950 - Medium Severity Vulnerability

Vulnerable Libraries - spring-expression-5.0.9.RELEASE.jar, spring-expression-4.3.18.RELEASE.jar, spring-expression-5.0.5.RELEASE.jar, spring-expression-4.3.23.RELEASE.jar, spring-expression-4.3.19.RELEASE.jar, spring-expression-3.2.13.RELEASE.jar

spring-expression-5.0.9.RELEASE.jar

Spring Expression Language (SpEL)

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

Path to dependency file: /misc/spring-boot-starter/keycloak-spring-boot-starter/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-expression/5.0.9.RELEASE/spring-expression-5.0.9.RELEASE.jar,/home/wss-scanner/.m2/repository/org/springframework/spring-expression/5.0.9.RELEASE/spring-expression-5.0.9.RELEASE.jar

Dependency Hierarchy:

  • spring-boot-starter-web-2.0.5.RELEASE.jar (Root Library)
    • spring-webmvc-5.0.9.RELEASE.jar
      • spring-expression-5.0.9.RELEASE.jar (Vulnerable Library)
spring-expression-4.3.18.RELEASE.jar

Spring Expression Language (SpEL)

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

Path to dependency file: /misc/spring-legacy-boot-starter/keycloak-legacy-spring-boot-starter/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-expression/4.3.18.RELEASE/spring-expression-4.3.18.RELEASE.jar

Dependency Hierarchy:

  • spring-boot-starter-1.5.14.RELEASE.jar (Root Library)
    • spring-boot-1.5.14.RELEASE.jar
      • spring-context-4.3.18.RELEASE.jar
        • spring-expression-4.3.18.RELEASE.jar (Vulnerable Library)
spring-expression-5.0.5.RELEASE.jar

Spring Expression Language (SpEL)

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

Path to dependency file: /testsuite/model/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-expression/5.0.5.RELEASE/spring-expression-5.0.5.RELEASE.jar,/home/wss-scanner/.m2/repository/org/springframework/spring-expression/5.0.5.RELEASE/spring-expression-5.0.5.RELEASE.jar,/home/wss-scanner/.m2/repository/org/springframework/spring-expression/5.0.5.RELEASE/spring-expression-5.0.5.RELEASE.jar

Dependency Hierarchy:

  • java-client-6.1.0.jar (Root Library)
    • spring-context-5.0.5.RELEASE.jar
      • spring-expression-5.0.5.RELEASE.jar (Vulnerable Library)
spring-expression-4.3.23.RELEASE.jar

Spring Expression Language (SpEL)

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

Path to dependency file: /testsuite/integration-arquillian/test-apps/spring-boot-adapter-app/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-expression/4.3.23.RELEASE/spring-expression-4.3.23.RELEASE.jar

Dependency Hierarchy:

  • spring-boot-starter-web-1.5.20.RELEASE.jar (Root Library)
    • spring-webmvc-4.3.23.RELEASE.jar
      • spring-expression-4.3.23.RELEASE.jar (Vulnerable Library)
spring-expression-4.3.19.RELEASE.jar

Spring Expression Language (SpEL)

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

Path to dependency file: /adapters/oidc/spring-boot/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-expression/4.3.19.RELEASE/spring-expression-4.3.19.RELEASE.jar,/home/wss-scanner/.m2/repository/org/springframework/spring-expression/4.3.19.RELEASE/spring-expression-4.3.19.RELEASE.jar

Dependency Hierarchy:

  • spring-boot-starter-web-1.5.16.RELEASE.jar (Root Library)
    • spring-webmvc-4.3.19.RELEASE.jar
      • spring-expression-4.3.19.RELEASE.jar (Vulnerable Library)
spring-expression-3.2.13.RELEASE.jar

Spring Expression Language (SpEL)

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

Path to dependency file: /adapters/oidc/spring-security/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-expression/3.2.13.RELEASE/spring-expression-3.2.13.RELEASE.jar

Dependency Hierarchy:

  • spring-security-web-3.2.7.RELEASE.jar (Root Library)
    • spring-expression-3.2.13.RELEASE.jar (Vulnerable Library)

Found in HEAD commit: 9686933e579cc74ebc1592f893a47c601bcf4403

Found in base branch: master

Vulnerability Details

n Spring Framework versions 5.3.0 - 5.3.16 and older unsupported versions, it is possible for a user to provide a specially crafted SpEL expression that may cause a denial of service condition.

Publish Date: 2022-04-01

URL: CVE-2022-22950

CVSS 3 Score Details (6.5)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

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

Release Date: 2022-04-01

Fix Resolution (org.springframework:spring-expression): 5.2.20.RELEASE

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-web): 2.4.0

Fix Resolution (org.springframework:spring-expression): 5.2.20.RELEASE

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter): 2.0.0.RELEASE

Fix Resolution (org.springframework:spring-expression): 5.2.20.RELEASE

Direct dependency fix Resolution (io.appium:java-client): 7.4.0

Fix Resolution (org.springframework:spring-expression): 5.2.20.RELEASE

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-web): 2.0.0.RELEASE

Fix Resolution (org.springframework:spring-expression): 5.2.20.RELEASE

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-web): 2.0.0.RELEASE

Fix Resolution (org.springframework:spring-expression): 5.2.20.RELEASE

Direct dependency fix Resolution (org.springframework.security:spring-security-web): 5.5.0


⛑️ Automatic Remediation is available for this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants