GHSA-2w9p-xxqr-h253: Ezsystems/ezplatform kernel EZ Platform Object Injection Vulnerability

HIGH
CWE-94
Published
Advisory Summary

GHSA-2w9p-xxqr-h253 is a HIGH ez platform object injection vulnerability (CWE-94: Improper Control of Generation of Code ('Code Injection')) affecting Ezsystems/ezplatform kernel libraries in the Packagist ecosystem. The issue involves ez platform object injection in siteaccessmatchlistener. Remediation is available by upgrading affected packages to version 1.0.3.

GHSA-2w9p-xxqr-h253 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-2w9p-xxqr-h253
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-94: Improper Control of Generation of Code ('Code Injection')
Affected Product Ezsystems/ezplatform kernel
Package Ecosystem Packagist
Published Date
Last Updated

How to Fix GHSA-2w9p-xxqr-h253

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.0.3
Upgrade ezsystems/ezplatform-kernel to 1.0.3
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-2w9p-xxqr-h253, 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.0.3), 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-94: Improper Control of Generation of Code ('Code Injection'), where the product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. 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

This Security Advisory is about an object injection vulnerability in the SiteAccessMatchListener of eZ Platform, which could lead to remote code execution (RCE), a very serious threat. All sites may be affected. Update: There are bugs introduced by this fix, particularly but not limited to compound siteaccess matchers. These have been fixed in ezsystems/ezplatform-kernel v1.0.3, and in ezsystems/ezpublish-kernel v7.5.8, v6.13.6.4, and v5.4.15.

GHSA-2w9p-xxqr-h253 Affected Ezsystems/ezplatform kernel Versions

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

References

Frequently Asked Questions

What is GHSA-2w9p-xxqr-h253?
GHSA-2w9p-xxqr-h253 is a security vulnerability in Ezsystems/ezplatform kernel involving eZ Platform Object Injection in SiteAccessMatchListener under CWE-94: Improper Control of Generation of Code ('Code Injection').
Which Ezsystems/ezplatform kernel versions are affected?
Affected versions include releases prior to 1.0.3 across affected packages: ezsystems/ezplatform-kernel.
What version fixes GHSA-2w9p-xxqr-h253?
Upgrading to 1.0.3 (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.0.3. Upgrade your dependency to 1.0.3 or later.
What CWE is associated with GHSA-2w9p-xxqr-h253?
GHSA-2w9p-xxqr-h253 is classified under CWE-94: Improper Control of Generation of Code ('Code Injection') (The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.).
How can I check Packagist dependencies for GHSA-2w9p-xxqr-h253?
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-2w9p-xxqr-h253",
  "modified" : "2024-05-15T21:14:18Z",
  "published" : "2024-05-15T21:14:18Z",
  "aliases" : [ ],
  "summary" : "eZ Platform Object Injection in SiteAccessMatchListener",
  "details" : "This Security Advisory is about an object injection vulnerability in the SiteAccessMatchListener of eZ Platform, which could lead to remote code execution (RCE), a very serious threat. All sites may be affected.\n\nUpdate: There are bugs introduced by this fix, particularly but not limited to compound siteaccess matchers. These have been fixed in ezsystems/ezplatform-kernel v1.0.3, and in ezsystems/ezpublish-kernel v7.5.8, v6.13.6.4, and v5.4.15.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "ezsystems/ezplatform-kernel"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.0.0"
      }, {
        "fixed" : "1.0.3"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://ezplatform.com/security-advisories/ezsa-2020-004-object-injection-in-siteaccessmatchlistener"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/ezsystems/ezplatform-kernel/2020-05-20-1.yaml"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/ezsystems/ezplatform-kernel"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20201024030303/https://ezplatform.com/security-advisories/ezsa-2020-004-object-injection-in-siteaccessmatchlistener"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-94" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-05-15T21:14:18Z",
    "nvd_published_at" : null
  }
}