GHSA-3p2q-mh7q-9pxj: Duplicate Advisory Path Traversal Vulnerability
HIGHGHSA-3p2q-mh7q-9pxj is a HIGH path traversal vulnerability (General Security Weakness) affecting Duplicate Advisory libraries in the Packagist ecosystem. The issue involves elfinder vulnerable to path traversal in localvolumedriver connector. Remediation is available by upgrading affected packages to version 2.1.62.
GHSA-3p2q-mh7q-9pxj at a Glance
How to Fix GHSA-3p2q-mh7q-9pxj
To remediate this vulnerability, upgrade all affected Duplicate Advisory dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade studio-42/elfinder to 2.1.62
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for studio-42/elfinder
How to Check if You Are Affected
To determine whether your application is affected by GHSA-3p2q-mh7q-9pxj, inspect your project dependencies for Duplicate Advisory:
inspect dependencies for studio-42/elfinder
Analyze the terminal output to locate any version of Duplicate Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.1.62), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under General Security Weakness. In Duplicate Advisory, 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
GHSA-3p2q-mh7q-9pxj Affected Duplicate Advisory Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
studio-42/elfinder
|
Packagist |
< 2.1.62
|
2.1.62
|
References
Frequently Asked Questions
What is GHSA-3p2q-mh7q-9pxj?
Which Duplicate Advisory versions are affected?
What version fixes GHSA-3p2q-mh7q-9pxj?
Is studio-42/elfinder affected?
What CWE is associated with GHSA-3p2q-mh7q-9pxj?
How can I check Packagist dependencies for GHSA-3p2q-mh7q-9pxj?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-3p2q-mh7q-9pxj",
"modified" : "2023-06-19T20:16:20Z",
"published" : "2023-06-19T03:30:19Z",
"withdrawn" : "2023-06-19T20:16:20Z",
"aliases" : [ ],
"summary" : "Duplicate Advisory: elFinder vulnerable to path traversal in LocalVolumeDriver connector",
"details" : "### Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-wm5g-p99q-66g4. This link is maintained to preserve external references.\n\n### Original Description\n_joinPath in elFinderVolumeLocalFileSystem.class.php in elFinder before 2.1.62 allows path traversal in the PHP LocalVolumeDriver connector.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "studio-42/elfinder"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.1.62"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/Studio-42/elFinder/security/advisories/GHSA-wm5g-p99q-66g4"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-35840"
}, {
"type" : "WEB",
"url" : "https://github.com/Studio-42/elFinder/commit/bb9aaa7b096a1b83f2f85657c43f12131ece2891"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-06-19T20:16:20Z",
"nvd_published_at" : "2023-06-19T01:15:08Z"
}
}