Vulnerabilities in pkg:maven/aendter.jenkins.plugins/filesystem-list-parameter-plugin
PACKAGECVE-2024-54004 is a MODERATE (CVSS 4.3) path traversal vulnerability (CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')) affecting Filesystem list parameter plugin libraries in the Maven ecosystem. The issue involves jenkins filesystem list parameter plugin has path traversal vulnerability. Remediation is available by upgrading affected packages to version 0.0.15.
pkg:maven/aendter.jenkins.plugins/filesystem-list-parameter-plugin
Vulnerability advisories affecting package pkg:maven/aendter.jenkins.plugins/filesystem-list-parameter-plugin. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-fwxq-3f52-5cmc | CVE-2024-54004 | MODERATE | Jenkins Filesystem List Parameter Plugin has Path Traversal vulnerability |
| GHSA-x95w-qf3m-pqpx | CVE-2022-34187 | HIGH | Cross-site Scripting in Jenkins Filesystem List Parameter Plugin |
CVE-2024-54004 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-2024-54004
To remediate this vulnerability, upgrade all affected Filesystem list parameter plugin 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>aendter.jenkins.plugins</groupId>
<artifactId>filesystem-list-parameter-plugin</artifactId>
<version>0.0.15</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=aendter.jenkins.plugins
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2024-54004, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=aendter.jenkins.plugins
Analyze the terminal output to locate any version of Filesystem list parameter plugin in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.0.15), your application is affected.
Note: The mvn dependency:tree -Dincludes=aendter.jenkins.plugins 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 Filesystem list parameter plugin, 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-2024-54004 Affected Filesystem list parameter plugin Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
aendter.jenkins.plugins:filesystem-list-parameter-plugin
|
Maven |
< 0.0.15
|
0.0.15
|
References
Frequently Asked Questions
What is CVE-2024-54004?
Which Filesystem list parameter plugin versions are affected?
What version fixes CVE-2024-54004?
Is filesystem-list-parameter-plugin affected?
What is the CVSS score of CVE-2024-54004?
What CWE is associated with CVE-2024-54004?
How can I check Maven dependencies for CVE-2024-54004?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-fwxq-3f52-5cmc",
"modified" : "2024-11-27T20:12:13Z",
"published" : "2024-11-27T18:34:04Z",
"aliases" : [ "CVE-2024-54004" ],
"summary" : "Jenkins Filesystem List Parameter Plugin has Path Traversal vulnerability",
"details" : "Jenkins Filesystem List Parameter Plugin 0.0.14 and earlier does not restrict the path used for the File system objects list Parameter.\n\nThis allows attackers with Item/Configure permission to enumerate file names on the Jenkins controller file system.\n\nFilesystem List Parameter Plugin 0.0.15 ensures that paths used by the File system objects list Parameter are restricted to an allow list, with the default base directory set to $JENKINS_HOME/userContent/. The allow list can be configured to include additional custom base directories.",
"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" : "aendter.jenkins.plugins:filesystem-list-parameter-plugin"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.0.15"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-54004"
}, {
"type" : "WEB",
"url" : "https://www.jenkins.io/security/advisory/2024-11-27/#SECURITY-3367"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-22" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-11-27T20:12:13Z",
"nvd_published_at" : "2024-11-27T17:15:15Z"
}
}