GHSA-3p2q-mh7q-9pxj: Duplicate Advisory Path Traversal Vulnerability

HIGH
Published
Advisory Summary

GHSA-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

CVE Identifier N/A
GHSA Identifier GHSA-3p2q-mh7q-9pxj
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Duplicate Advisory
Package Ecosystem Packagist
Published Date
Last Updated

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.

studio-42/elfinder fixed: 2.1.62
Upgrade studio-42/elfinder to 2.1.62
Verify Direct and Transitive Dependencies

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

### Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-wm5g-p99q-66g4. This link is maintained to preserve external references. ### Original Description _joinPath in elFinderVolumeLocalFileSystem.class.php in elFinder before 2.1.62 allows path traversal in the PHP LocalVolumeDriver connector.

GHSA-3p2q-mh7q-9pxj Affected Duplicate Advisory Versions

1 component(s)
Fixed Versions:
2.1.62
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?
GHSA-3p2q-mh7q-9pxj is a security vulnerability in Duplicate Advisory involving elFinder vulnerable to path traversal in LocalVolumeDriver connector under General Security Weakness.
Which Duplicate Advisory versions are affected?
Affected versions include releases prior to 2.1.62 across affected packages: studio-42/elfinder.
What version fixes GHSA-3p2q-mh7q-9pxj?
Upgrading to 2.1.62 (or the latest patched release for your respective branch) resolves the vulnerability.
Is studio-42/elfinder affected?
Yes, studio-42/elfinder is affected in releases prior to 2.1.62. Upgrade your dependency to 2.1.62 or later.
What CWE is associated with GHSA-3p2q-mh7q-9pxj?
GHSA-3p2q-mh7q-9pxj is classified under General Security Weakness.
How can I check Packagist dependencies for GHSA-3p2q-mh7q-9pxj?
Run the dependency tree command: 'inspect dependencies for studio-42/elfinder'. 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-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"
  }
}