CVE-2022-48365: Ezsystems/ezpublish kernel Company Admin Role Gives Excessive Vulnerability

HIGH
Advisory Identifier: GHSA-qq2j-9pf8-g58c
CVSS 7.2
CWE-269
Published
Advisory Summary

CVE-2022-48365 is a HIGH (CVSS 7.2) company admin role gives excessive vulnerability (CWE-269: Improper Privilege Management) affecting Ezsystems/ezpublish kernel libraries in the Packagist ecosystem. The issue involves company admin role gives excessive privileges in ez platform ibexa. Remediation is available by upgrading affected packages to version 7.5.30, 1.3.26.

CVE-2022-48365 at a Glance

CVE Identifier CVE-2022-48365
GHSA Identifier GHSA-qq2j-9pf8-g58c
Severity HIGH
CVSS v3.1 Base Score 7.2
CWE Classification CWE-269: Improper Privilege Management
Affected Product Ezsystems/ezpublish kernel
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 7.2

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required High (PR:H)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2022-48365

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.30
Upgrade ezsystems/ezpublish-kernel to 7.5.30
ezsystems/ezplatform-kernel fixed: 1.3.26
Upgrade ezsystems/ezplatform-kernel to 1.3.26
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 CVE-2022-48365, 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.30), 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-269: Improper Privilege Management, where the product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor. 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

Users with the Company admin role (introduced by the company account feature in v4) can assign any role to any user. This also applies to any other user that has the role / assign policy. Any subtree limitation in place does not have any effect. The role / assign policy is typically only given to administrators, which limits the scope in most cases, but please verify who has this policy in your installaton. The fix ensures that subtree limitations are working as intended.

CVE-2022-48365 Affected Ezsystems/ezpublish kernel Versions

2 component(s)
Fixed Versions:
7.5.301.3.26
Product / Package Ecosystem Affected Versions Fixed Version
ezsystems/ezpublish-kernel
Packagist
≥ 7.5.0
< 7.5.30
7.5.30
ezsystems/ezplatform-kernel
Packagist
≥ 1.3.0
< 1.3.26
1.3.26

References

Frequently Asked Questions

What is CVE-2022-48365?
CVE-2022-48365 is a security vulnerability in Ezsystems/ezpublish kernel involving Company admin role gives excessive privileges in eZ Platform Ibexa under CWE-269: Improper Privilege Management.
Which Ezsystems/ezpublish kernel versions are affected?
Affected versions include releases prior to 7.5.30, 1.3.26 across affected packages: ezsystems/ezpublish-kernel, ezsystems/ezplatform-kernel.
What version fixes CVE-2022-48365?
Upgrading to 7.5.30, 1.3.26 (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.30. Upgrade your dependency to 7.5.30 or later.
Is ezsystems/ezplatform-kernel affected?
Yes, ezsystems/ezplatform-kernel is affected in releases prior to 1.3.26. Upgrade your dependency to 1.3.26 or later.
What is the CVSS score of CVE-2022-48365?
CVE-2022-48365 has a CVSS v3.1 base score of 7.2 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2022-48365?
CVE-2022-48365 is classified under CWE-269: Improper Privilege Management (The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor.).
How can I check Packagist dependencies for CVE-2022-48365?
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-qq2j-9pf8-g58c",
  "modified" : "2025-03-04T22:21:44Z",
  "published" : "2023-03-12T06:30:21Z",
  "aliases" : [ "CVE-2022-48365" ],
  "summary" : "Company admin role gives excessive privileges in eZ Platform Ibexa",
  "details" : "Users with the Company admin role (introduced by the company account feature in v4) can assign any role to any user. This also applies to any other user that has the role / assign policy. Any subtree limitation in place does not have any effect.\n\nThe role / assign policy is typically only given to administrators, which limits the scope in most cases, but please verify who has this policy in your installaton. The fix ensures that subtree limitations are working as intended.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "ezsystems/ezpublish-kernel"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "7.5.0"
      }, {
        "fixed" : "7.5.30"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "ezsystems/ezplatform-kernel"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.3.0"
      }, {
        "fixed" : "1.3.26"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/ezsystems/ezplatform-kernel/security/advisories/GHSA-8h83-chh2-fchp"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ezsystems/ezpublish-kernel/security/advisories/GHSA-99r3-xmmq-7q7g"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-48365"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ezsystems/ezpublish-kernel/commit/957e67a08af2b3265753f9763943e8225ed779ab"
  }, {
    "type" : "WEB",
    "url" : "https://developers.ibexa.co/security-advisories/ibexa-sa-2022-009-critical-vulnerabilities-in-graphql-role-assignment-ct-editing-and-drafts-tooltips"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/ezsystems/ezpublish-kernel"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-269" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-03-13T20:57:31Z",
    "nvd_published_at" : "2023-03-12T05:15:00Z"
  }
}