Relative Path Traversal Affecting org.noear:solon-web-staticfiles package, versions [,3.0.9)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Relative Path Traversal vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGNOEAR-8745976
  • published25 Feb 2025
  • disclosed23 Feb 2025
  • creditnlrvana

Introduced: 23 Feb 2025

NewCVE-2025-1584  (opens in a new tab)
CWE-23  (opens in a new tab)

How to fix?

Upgrade org.noear:solon-web-staticfiles to version 3.0.9 or higher.

Overview

Affected versions of this package are vulnerable to Relative Path Traversal through the manipulation of the file path in StaticMappings.java using a relative path such as '../filedir'. An attacker can access files and directories stored outside of the web server's root directory by crafting malicious file paths.

CVSS Scores

version 4.0
version 3.1