Vulnerabilities in pkg:maven/org.gaul/s3proxy
PACKAGECVE-2025-24961 is a MODERATE path traversal vulnerability (CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')) affecting S3proxy libraries in the Maven ecosystem. The issue involves s3proxy allows insecure path traversal in filesystem and filesystem-nio2 storage backends. Remediation is available by upgrading affected packages to version 2.6.0.
pkg:maven/org.gaul/s3proxy
Vulnerability advisories affecting package pkg:maven/org.gaul/s3proxy. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-2ccp-vqmv-4r4x | CVE-2025-24961 | MODERATE | S3Proxy allows insecure path traversal in filesystem and filesystem-nio2 storage backends |
CVE-2025-24961 at a Glance
How to Fix CVE-2025-24961
To remediate this vulnerability, upgrade all affected S3proxy 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.gaul</groupId>
<artifactId>s3proxy</artifactId>
<version>2.6.0</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.gaul
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2025-24961, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.gaul
Analyze the terminal output to locate any version of S3proxy in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.6.0), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.gaul 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-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'), where the product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. In S3proxy, 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-24961 Affected S3proxy Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.gaul:s3proxy
|
Maven |
< 2.6.0
|
2.6.0
|
References
Frequently Asked Questions
What is CVE-2025-24961?
Which S3proxy versions are affected?
What version fixes CVE-2025-24961?
Is s3proxy affected?
What CWE is associated with CVE-2025-24961?
How can I check Maven dependencies for CVE-2025-24961?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-2ccp-vqmv-4r4x",
"modified" : "2025-02-04T17:17:49Z",
"published" : "2025-02-03T17:56:03Z",
"aliases" : [ "CVE-2025-24961" ],
"summary" : "S3Proxy allows insecure path traversal in filesystem and filesystem-nio2 storage backends",
"details" : "### Impact\nUsers of the filesystem and filesystem-nio2 storage backends could unintentionally expose local files to authenticated clients.\n\n### Patches\nUpgrade to S3Proxy 2.6.0 which includes apache/jclouds@b0819e0ef5e08c792a4d1724b938714ce9503aa3 and 86b6ee4749aa163a78e7898efc063617ed171980.\n\n### Workarounds\nNone\n\n### References\nPrivately reported by XBOW Team @xbow-security.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.gaul:s3proxy"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.6.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/gaul/s3proxy/security/advisories/GHSA-2ccp-vqmv-4r4x"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-24961"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/jclouds/commit/b0819e0ef5e08c792a4d1724b938714ce9503aa3"
}, {
"type" : "WEB",
"url" : "https://github.com/gaul/s3proxy/commit/86b6ee4749aa163a78e7898efc063617ed171980"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/gaul/s3proxy"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-22" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-02-03T17:56:03Z",
"nvd_published_at" : "2025-02-03T21:15:16Z"
}
}