Skip to content

CVE-2025-41242 (Medium) detected in spring-webmvc-5.3.14.jar, spring-beans-5.3.14.jar #338

@mend-bolt-for-github

Description

@mend-bolt-for-github

CVE-2025-41242 - Medium Severity Vulnerability

Vulnerable Libraries - spring-webmvc-5.3.14.jar, spring-beans-5.3.14.jar

spring-webmvc-5.3.14.jar

Spring Web MVC

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

Path to dependency file: /src/examples/JavaSpring/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-webmvc/5.3.14/spring-webmvc-5.3.14.jar

Dependency Hierarchy:

  • spring-boot-starter-web-2.6.2.jar (Root Library)
    • spring-webmvc-5.3.14.jar (Vulnerable Library)
spring-beans-5.3.14.jar

Spring Beans

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

Path to dependency file: /src/examples/JavaSpring/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-beans/5.3.14/spring-beans-5.3.14.jar

Dependency Hierarchy:

  • spring-boot-starter-2.6.2.jar (Root Library)
    • spring-boot-2.6.2.jar
      • spring-context-5.3.14.jar
        • spring-aop-5.3.14.jar
          • spring-beans-5.3.14.jar (Vulnerable Library)

Found in HEAD commit: 642a29f4be078e5094d502da0a4f686426e9309b

Found in base branch: main

Vulnerability Details

Spring Framework MVC applications can be vulnerable to a “Path Traversal Vulnerability” when deployed on a non-compliant Servlet container.
An application can be vulnerable when all the following are true:

Publish Date: 2025-08-18

URL: CVE-2025-41242

CVSS 3 Score Details (5.9)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2025-08-18

Fix Resolution: https://github.com/spring-projects/spring-framework.git - v6.2.10,org.springframework:spring-beans:6.2.10


Step up your Open Source Security Game with Mend here

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions