Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. studio-42/elfinder
  4. ›
  5. CVE-2021-23394

CVE-2021-23394: Unrestricted Upload of File with Dangerous Type

June 13, 2021 (updated November 9, 2022)

The package studio-42/elfinder is vulnerable to Remote Code Execution (RCE) via execution of PHP code in a .phar file. This only applies if the server parses .phar files as PHP.

References

  • github.com/Studio-42/elFinder/issues/3295
  • nvd.nist.gov/vuln/detail/CVE-2021-23394

Code Behaviors & Features

Detect and mitigate CVE-2021-23394 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 2.1.58

Fixed versions

  • 2.1.58

Solution

Upgrade to version 2.1.58 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-434: Unrestricted Upload of File with Dangerous Type

Source file

packagist/studio-42/elfinder/CVE-2021-23394.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:43 +0000.