GHSA-mwvh-p3hx-x4gg: Ezsystems/ezplatform kernel Ibexa Kernel's Files With Blacklisted Vulnerability

MODERATE
CWE-434
Published
Advisory Summary

GHSA-mwvh-p3hx-x4gg is a MODERATE ibexa kernel's files with blacklisted vulnerability (CWE-434: Unrestricted Upload of File with Dangerous Type) affecting Ezsystems/ezplatform kernel libraries in the Packagist ecosystem. The issue involves ibexa kernel's files with blacklisted extensions can be still saved to drafts. Remediation is available by upgrading affected packages to version 1.3.35.

GHSA-mwvh-p3hx-x4gg at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-mwvh-p3hx-x4gg
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-434: Unrestricted Upload of File with Dangerous Type
Affected Product Ezsystems/ezplatform kernel
Package Ecosystem Packagist
Published Date
Last Updated

How to Fix GHSA-mwvh-p3hx-x4gg

To remediate this vulnerability, upgrade all affected Ezsystems/ezplatform 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/ezplatform-kernel fixed: 1.3.35
Upgrade ezsystems/ezplatform-kernel to 1.3.35
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/ezplatform-kernel

How to Check if You Are Affected

To determine whether your application is affected by GHSA-mwvh-p3hx-x4gg, inspect your project dependencies for Ezsystems/ezplatform kernel:

inspect dependencies for ezsystems/ezplatform-kernel

Analyze the terminal output to locate any version of Ezsystems/ezplatform kernel in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.3.35), 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 CWE-434: Unrestricted Upload of File with Dangerous Type, where the product allows the upload or transfer of dangerous file types that are automatically processed within its environment. In Ezsystems/ezplatform 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 File validation can be configured to reject certain files by file type. When this happens, validation fails, and the content can't be published. However, the file can be saved when saving the content draft. This means unwanted files can be present in storage, even if they are not easily accessible due to the content not being published. The fix ensures these unwanted file types are never stored. An attacker would need to have existing access to create content with a file field type to exploit this. ### Patches See "Patched versions". Commit: https://github.com/ezsystems/ezplatform-kernel/commit/7e472317f7c75f45f72f74c38406952d8bea0de1 ### References https://developers.ibexa.co/security-advisories/ibexa-sa-2024-002-file-validation-and-workflow-stages

GHSA-mwvh-p3hx-x4gg Affected Ezsystems/ezplatform kernel Versions

1 component(s)
Fixed Versions:
1.3.35
Product / Package Ecosystem Affected Versions Fixed Version
ezsystems/ezplatform-kernel
Packagist
≥ 1.3.0
< 1.3.35
1.3.35

References

Frequently Asked Questions

What is GHSA-mwvh-p3hx-x4gg?
GHSA-mwvh-p3hx-x4gg is a security vulnerability in Ezsystems/ezplatform kernel involving Ibexa Kernel's files with blacklisted extensions can be still saved to drafts under CWE-434: Unrestricted Upload of File with Dangerous Type.
Which Ezsystems/ezplatform kernel versions are affected?
Affected versions include releases prior to 1.3.35 across affected packages: ezsystems/ezplatform-kernel.
What version fixes GHSA-mwvh-p3hx-x4gg?
Upgrading to 1.3.35 (or the latest patched release for your respective branch) resolves the vulnerability.
Is ezsystems/ezplatform-kernel affected?
Yes, ezsystems/ezplatform-kernel is affected in releases prior to 1.3.35. Upgrade your dependency to 1.3.35 or later.
What CWE is associated with GHSA-mwvh-p3hx-x4gg?
GHSA-mwvh-p3hx-x4gg is classified under CWE-434: Unrestricted Upload of File with Dangerous Type (The product allows the upload or transfer of dangerous file types that are automatically processed within its environment.).
How can I check Packagist dependencies for GHSA-mwvh-p3hx-x4gg?
Run the dependency tree command: 'inspect dependencies for ezsystems/ezplatform-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-mwvh-p3hx-x4gg",
  "modified" : "2024-03-20T18:13:09Z",
  "published" : "2024-03-20T18:13:09Z",
  "aliases" : [ ],
  "summary" : "Ibexa Kernel's files with blacklisted extensions can be still saved to drafts",
  "details" : "### Impact\nFile validation can be configured to reject certain files by file type. When this happens, validation fails, and the content can't be published. However, the file can be saved when saving the content draft. This means unwanted files can be present in storage, even if they are not easily accessible due to the content not being published. The fix ensures these unwanted file types are never stored. An attacker would need to have existing access to create content with a file field type to exploit this.\n\n### Patches\nSee \"Patched versions\".\nCommit: https://github.com/ezsystems/ezplatform-kernel/commit/7e472317f7c75f45f72f74c38406952d8bea0de1\n\n### References\nhttps://developers.ibexa.co/security-advisories/ibexa-sa-2024-002-file-validation-and-workflow-stages",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "ezsystems/ezplatform-kernel"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.3.0"
      }, {
        "fixed" : "1.3.35"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/ezsystems/ezplatform-kernel/security/advisories/GHSA-mwvh-p3hx-x4gg"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ezsystems/ezplatform-kernel/commit/7e472317f7c75f45f72f74c38406952d8bea0de1"
  }, {
    "type" : "WEB",
    "url" : "https://developers.ibexa.co/security-advisories/ibexa-sa-2024-002-file-validation-and-workflow-stages"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/ezsystems/ezplatform-kernel"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-434" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-03-20T18:13:09Z",
    "nvd_published_at" : null
  }
}