CVE-2022-48366: Ezsystems/ezplatform kernel Timing Attack Vulnerability

LOW
Advisory Identifier: GHSA-66m4-gc8h-hpjx
CVSS 3.7
CWE-362
Published
Advisory Summary

CVE-2022-48366 is a LOW (CVSS 3.7) timing attack vulnerability (CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')) affecting Ezsystems/ezplatform kernel libraries in the Packagist ecosystem. The issue involves timing attack in ez platform ibexa. Remediation is available by upgrading affected packages to version 1.3.19, 7.5.29.

CVE-2022-48366 at a Glance

CVE Identifier CVE-2022-48366
GHSA Identifier GHSA-66m4-gc8h-hpjx
Severity LOW
CVSS v3.1 Base Score 3.7
CWE Classification CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
Affected Product Ezsystems/ezplatform kernel
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 3.7

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

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

How to Fix CVE-2022-48366

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.19
Upgrade ezsystems/ezplatform-kernel to 1.3.19
ezsystems/ezpublish-kernel fixed: 7.5.29
Upgrade ezsystems/ezpublish-kernel to 7.5.29
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 CVE-2022-48366, 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.19), 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-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition'), where the product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently. 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

Ibexa DXP is using random execution time to hinder timing attacks against user accounts, a method of discovering whether a given account exists in a system without knowing its password, thus affecting privacy. This implementation was found to not be good enough in some situations. The fix replaces this with constant time functionality, configured in the new security.yml parameter 'ibexa.security.authentication.constant_auth_time'. It will log a warning if the constant time is exceeded. If this happens the setting should be increased.

CVE-2022-48366 Affected Ezsystems/ezplatform kernel Versions

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

References

Frequently Asked Questions

What is CVE-2022-48366?
CVE-2022-48366 is a security vulnerability in Ezsystems/ezplatform kernel involving Timing attack in eZ Platform Ibexa under CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition').
Which Ezsystems/ezplatform kernel versions are affected?
Affected versions include releases prior to 1.3.19, 7.5.29 across affected packages: ezsystems/ezplatform-kernel, ezsystems/ezpublish-kernel.
What version fixes CVE-2022-48366?
Upgrading to 1.3.19, 7.5.29 (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.19. Upgrade your dependency to 1.3.19 or later.
Is ezsystems/ezpublish-kernel affected?
Yes, ezsystems/ezpublish-kernel is affected in releases prior to 7.5.29. Upgrade your dependency to 7.5.29 or later.
What is the CVSS score of CVE-2022-48366?
CVE-2022-48366 has a CVSS v3.1 base score of 3.7 (LOW) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N.
What CWE is associated with CVE-2022-48366?
CVE-2022-48366 is classified under CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') (The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently.).
How can I check Packagist dependencies for CVE-2022-48366?
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-66m4-gc8h-hpjx",
  "modified" : "2025-03-04T19:07:18Z",
  "published" : "2023-03-12T06:30:21Z",
  "aliases" : [ "CVE-2022-48366" ],
  "summary" : "Timing attack in eZ Platform Ibexa",
  "details" : "Ibexa DXP is using random execution time to hinder timing attacks against user accounts, a method of discovering whether a given account exists in a system without knowing its password, thus affecting privacy. This implementation was found to not be good enough in some situations. The fix replaces this with constant time functionality, configured in the new security.yml parameter 'ibexa.security.authentication.constant_auth_time'. It will log a warning if the constant time is exceeded. If this happens the setting should be increased.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "ezsystems/ezplatform-kernel"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.3.0"
      }, {
        "fixed" : "1.3.19"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "ezsystems/ezpublish-kernel"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "7.5.0"
      }, {
        "fixed" : "7.5.29"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/ezsystems/ezplatform-kernel/security/advisories/GHSA-342c-vcff-2ff2"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ezsystems/ezpublish-kernel/security/advisories/GHSA-xfqg-p48g-hh94"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-48366"
  }, {
    "type" : "WEB",
    "url" : "https://developers.ibexa.co/security-advisories/ibexa-sa-2022-006-vulnerabilities-in-page-builder-login-and-commerce"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/ezsystems/ezplatform-kernel"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-362" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-03-13T20:55:56Z",
    "nvd_published_at" : "2023-03-12T05:15:00Z"
  }
}