CVE-2025-1584: Solon web staticfiles Path Traversal Vulnerability
MODERATECVE-2025-1584 is a MODERATE (CVSS 4.3) path traversal vulnerability (CWE-23: Relative Path Traversal) affecting Solon web staticfiles libraries in the Maven ecosystem. The issue involves solon path traversal. Remediation is available by upgrading affected packages to version 3.0.9.
CVE-2025-1584 at a Glance
Security Impact
CVSS: 4.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N).
How to Fix CVE-2025-1584
To remediate this vulnerability, upgrade all affected Solon web staticfiles dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.noear</groupId>
<artifactId>solon-web-staticfiles</artifactId>
<version>3.0.9</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.noear
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2025-1584, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.noear
Analyze the terminal output to locate any version of Solon web staticfiles in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.0.9), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.noear command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-23: Relative Path Traversal, where the product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize sequences such as ".." that can resolve to a location that is outside of that directory. In Solon web staticfiles, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-1584 Affected Solon web staticfiles Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.noear:solon-web-staticfiles
|
Maven |
< 3.0.9
|
3.0.9
|
References
Frequently Asked Questions
What is CVE-2025-1584?
Which Solon web staticfiles versions are affected?
What version fixes CVE-2025-1584?
Is solon-web-staticfiles affected?
What is the CVSS score of CVE-2025-1584?
What CWE is associated with CVE-2025-1584?
How can I check Maven dependencies for CVE-2025-1584?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-x8q6-cchr-p7m6",
"modified" : "2025-02-24T18:31:10Z",
"published" : "2025-02-23T15:30:58Z",
"aliases" : [ "CVE-2025-1584" ],
"summary" : "Solon Path Traversal",
"details" : "A vulnerability classified as problematic was found in opensolon Solon up to 3.0.8. This vulnerability affects unknown code of the file solon-projects/solon-web/solon-web-staticfiles/src/main/java/org/noear/solon/web/staticfiles/StaticMappings.java. The manipulation leads to path traversal: '../filedir'. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used. Upgrading to version 3.0.9 is able to address this issue. The name of the patch is f46e47fd1f8455b9467d7ead3cdb0509115b2ef1. It is recommended to upgrade the affected component.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.noear:solon-web-staticfiles"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.0.9"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-1584"
}, {
"type" : "WEB",
"url" : "https://github.com/opensolon/solon/issues/332"
}, {
"type" : "WEB",
"url" : "https://github.com/opensolon/solon/issues/332#issue-2866229828"
}, {
"type" : "WEB",
"url" : "https://github.com/opensolon/solon/issues/332#issuecomment-2674330700"
}, {
"type" : "WEB",
"url" : "https://github.com/opensolon/solon/commit/f46e47fd1f8455b9467d7ead3cdb0509115b2ef1"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/opensolon/solon"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/?ctiid.296560"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/?id.296560"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/?submit.504454"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-23" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-02-24T18:31:10Z",
"nvd_published_at" : "2025-02-23T13:15:09Z"
}
}