CVE-2025-41242

Updated on 18 Aug 2025

Severity

5.9 Medium severity

Details

CVSS score
5.9
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Overview

About vulnerability

Description

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:

We have verified that applications deployed on Apache Tomcat or Eclipse Jetty are not vulnerable, as long as default security features are not disabled in the configuration. Because we cannot check exploits against all Servlet containers and configuration variants, we strongly recommend upgrading your application.

Affected Spring Products and Versions

Spring Framework:

  • 6.2.0 - 6.2.9
  • 6.1.0 - 6.1.21
  • 6.0.0 - 6.0.29
  • 5.3.0 - 5.3.43
  • Older, unsupported versions are also affected.

Mitigation

Users of affected versions should upgrade to the corresponding fixed version.

Affected version(s) Fix version Availability
6.2.x 6.2.10 OSS
6.1.x 6.1.22 Commercial
6.0.x N/A Out of support
5.3.x 5.3.44 Commercial

No further mitigation steps are necessary.

Credit

This issue was responsibly reported by 1ue and b1u3r from Vidar-Team, and Joakim Erdfelt from Webtide.

References

History

  • 2025-08-14: Initial vulnerability report published.

Details

Affected packages:
jetty.project @ 9.4.58.v20250814 (+7490 more)

Description

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:

We have verified that applications deployed on Apache Tomcat or Eclipse Jetty are not vulnerable, as long as default security features are not disabled in the configuration. Because we cannot check exploits against all Servlet containers and configuration variants, we strongly recommend upgrading your application.

Affected Spring Products and Versions

Spring Framework:

  • 6.2.0 - 6.2.9
  • 6.1.0 - 6.1.21
  • 6.0.0 - 6.0.29
  • 5.3.0 - 5.3.43
  • Older, unsupported versions are also affected.

Mitigation

Users of affected versions should upgrade to the corresponding fixed version.

Affected version(s) Fix version Availability
6.2.x 6.2.10 OSS
6.1.x 6.1.22 Commercial
6.0.x N/A Out of support
5.3.x 5.3.44 Commercial

No further mitigation steps are necessary.

Credit

This issue was responsibly reported by 1ue and b1u3r from Vidar-Team, and Joakim Erdfelt from Webtide.

References

History

  • 2025-08-14: Initial vulnerability report published.

Fixes