Vulnerabilities in pkg:maven/org.noear/solon-web-staticfiles

PACKAGE
Advisory Identifier: GHSA-x8q6-cchr-p7m6
Advisory Summary

CVE-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.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/org.noear/solon-web-staticfiles

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/org.noear/solon-web-staticfiles. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-x8q6-cchr-p7m6 CVE-2025-1584 MODERATE Solon Path Traversal

CVE-2025-1584 at a Glance

CVE Identifier CVE-2025-1584
GHSA Identifier GHSA-x8q6-cchr-p7m6
Severity MODERATE
CVSS v3.1 Base Score 4.3
CWE Classification CWE-23: Relative Path Traversal
Affected Product Solon web staticfiles
Package Ecosystem Maven
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity None (I:N)
Availability None (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.

org.noear:solon-web-staticfiles fixed: 3.0.9
<dependency>
    <groupId>org.noear</groupId>
    <artifactId>solon-web-staticfiles</artifactId>
    <version>3.0.9</version>
</dependency>
Verify Direct and Transitive Dependencies

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

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.

CVE-2025-1584 Affected Solon web staticfiles Versions

1 component(s)
Fixed Versions:
3.0.9
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?
CVE-2025-1584 is a security vulnerability in Solon web staticfiles involving Solon Path Traversal under CWE-23: Relative Path Traversal.
Which Solon web staticfiles versions are affected?
Affected versions include releases prior to 3.0.9 across affected packages: org.noear:solon-web-staticfiles.
What version fixes CVE-2025-1584?
Upgrading to 3.0.9 (or the latest patched release for your respective branch) resolves the vulnerability.
Is solon-web-staticfiles affected?
Yes, org.noear:solon-web-staticfiles is affected in releases prior to 3.0.9. Upgrade your dependency to 3.0.9 or later.
What is the CVSS score of CVE-2025-1584?
CVE-2025-1584 has a CVSS v3.1 base score of 4.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N.
What CWE is associated with CVE-2025-1584?
CVE-2025-1584 is classified under CWE-23: Relative Path Traversal (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.).
How can I check Maven dependencies for CVE-2025-1584?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.noear'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}