GHSA-946c-f9w6-2c25: Ezsystems/ezpublish kernel Download Route Allows Filename Change Vulnerability

LOW
Published
Advisory Summary

GHSA-946c-f9w6-2c25 is a LOW download route allows filename change vulnerability (General Security Weakness) affecting Ezsystems/ezpublish kernel libraries in the Packagist ecosystem. The issue involves download route allows filename change in ezpublish kernel. Remediation is available by upgrading affected packages to version 7.5.31.

GHSA-946c-f9w6-2c25 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-946c-f9w6-2c25
Severity LOW
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Ezsystems/ezpublish kernel
Package Ecosystem Packagist
Published Date
Last Updated

How to Fix GHSA-946c-f9w6-2c25

To remediate this vulnerability, upgrade all affected Ezsystems/ezpublish kernel dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

ezsystems/ezpublish-kernel fixed: 7.5.31
Upgrade ezsystems/ezpublish-kernel to 7.5.31
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 ezsystems/ezpublish-kernel

How to Check if You Are Affected

To determine whether your application is affected by GHSA-946c-f9w6-2c25, inspect your project dependencies for Ezsystems/ezpublish kernel:

inspect dependencies for ezsystems/ezpublish-kernel

Analyze the terminal output to locate any version of Ezsystems/ezpublish kernel in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 7.5.31), 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 Ezsystems/ezpublish kernel, 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

### Impact The route used for file downloads allows specifying the name of the downloaded file. This is an unintended side effect of the implementation, and means one could construct download URLs with filenames that have no relation to the actual file, which could lead to misunderstandings and confusion, and possibly other harm. As such it is a low severity vulnerability. It affects all supported versions of Ibexa DXP and eZ Platform, in installations where downloadable files exist. ### Patches The issue is fixed in all supported versions of ezsystems/ezpublish-kernel, see "Patched versions". An advisory is also published for ezsystems/ezplatform-kernel and ibexa/core, please see those repositories. Commit: https://github.com/ezsystems/ezpublish-kernel/commit/142152f9bae4c4835713df0bdfe22bc98d03f9a1 ### Workarounds None, other than blocking all downloads. ### References https://developers.ibexa.co/security-advisories/ibexa-sa-2023-005-vulnerabilities-in-solr-search-and-file-downloads

GHSA-946c-f9w6-2c25 Affected Ezsystems/ezpublish kernel Versions

1 component(s)
Fixed Versions:
7.5.31
Product / Package Ecosystem Affected Versions Fixed Version
ezsystems/ezpublish-kernel
Packagist
≥ 7.5.0
< 7.5.31
7.5.31

References

Frequently Asked Questions

What is GHSA-946c-f9w6-2c25?
GHSA-946c-f9w6-2c25 is a security vulnerability in Ezsystems/ezpublish kernel involving Download route allows filename change in eZpublish kernel under General Security Weakness.
Which Ezsystems/ezpublish kernel versions are affected?
Affected versions include releases prior to 7.5.31 across affected packages: ezsystems/ezpublish-kernel.
What version fixes GHSA-946c-f9w6-2c25?
Upgrading to 7.5.31 (or the latest patched release for your respective branch) resolves the vulnerability.
Is ezsystems/ezpublish-kernel affected?
Yes, ezsystems/ezpublish-kernel is affected in releases prior to 7.5.31. Upgrade your dependency to 7.5.31 or later.
What CWE is associated with GHSA-946c-f9w6-2c25?
GHSA-946c-f9w6-2c25 is classified under General Security Weakness.
How can I check Packagist dependencies for GHSA-946c-f9w6-2c25?
Run the dependency tree command: 'inspect dependencies for ezsystems/ezpublish-kernel'. 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-946c-f9w6-2c25",
  "modified" : "2023-11-03T18:45:11Z",
  "published" : "2023-11-03T18:45:11Z",
  "aliases" : [ ],
  "summary" : "Download route allows filename change in eZpublish kernel",
  "details" : "### Impact\nThe route used for file downloads allows specifying the name of the downloaded file. This is an unintended side effect of the implementation, and means one could construct download URLs with filenames that have no relation to the actual file, which could lead to misunderstandings and confusion, and possibly other harm. As such it is a low severity vulnerability. It affects all supported versions of Ibexa DXP and eZ Platform, in installations where downloadable files exist.\n\n### Patches\nThe issue is fixed in all supported versions of ezsystems/ezpublish-kernel, see \"Patched versions\".\nAn advisory is also published for ezsystems/ezplatform-kernel and ibexa/core, please see those repositories.\nCommit: https://github.com/ezsystems/ezpublish-kernel/commit/142152f9bae4c4835713df0bdfe22bc98d03f9a1\n\n### Workarounds\nNone, other than blocking all downloads.\n\n### References\nhttps://developers.ibexa.co/security-advisories/ibexa-sa-2023-005-vulnerabilities-in-solr-search-and-file-downloads\n",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "ezsystems/ezpublish-kernel"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "7.5.0"
      }, {
        "fixed" : "7.5.31"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/ezsystems/ezpublish-kernel/security/advisories/GHSA-946c-f9w6-2c25"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ezsystems/ezpublish-kernel/commit/142152f9bae4c4835713df0bdfe22bc98d03f9a1"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/ezsystems/ezpublish-kernel"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-11-03T18:45:11Z",
    "nvd_published_at" : null
  }
}