GHSA-xfqg-p48g-hh94: Ezsystems/ezpublish kernel Login Timing Attack Vulnerability

CRITICAL
CWE-208
Published
Advisory Summary

GHSA-xfqg-p48g-hh94 is a CRITICAL login timing attack vulnerability (CWE-208: Observable Timing Discrepancy) affecting Ezsystems/ezpublish kernel libraries in the Packagist ecosystem. The issue involves login timing attack in ezsystems/ezpublish-kernel. Remediation is available by upgrading affected packages to version 7.5.29.

GHSA-xfqg-p48g-hh94 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-xfqg-p48g-hh94
Severity CRITICAL
CVSS v3.1 Base Score N/A
CWE Classification CWE-208: Observable Timing Discrepancy
Affected Product Ezsystems/ezpublish kernel
Package Ecosystem Packagist
Published Date
Last Updated

How to Fix GHSA-xfqg-p48g-hh94

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.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/ezpublish-kernel

How to Check if You Are Affected

To determine whether your application is affected by GHSA-xfqg-p48g-hh94, 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.29), 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-208: Observable Timing Discrepancy, where two separate operations in a product require different amounts of time to complete, in a way that is observable to an actor and reveals security-relevant information about the state of the product, such as whether a particular operation was successful or not. 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

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.

GHSA-xfqg-p48g-hh94 Affected Ezsystems/ezpublish kernel Versions

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

References

Frequently Asked Questions

What is GHSA-xfqg-p48g-hh94?
GHSA-xfqg-p48g-hh94 is a security vulnerability in Ezsystems/ezpublish kernel involving Login timing attack in ezsystems/ezpublish-kernel under CWE-208: Observable Timing Discrepancy.
Which Ezsystems/ezpublish kernel versions are affected?
Affected versions include releases prior to 7.5.29 across affected packages: ezsystems/ezpublish-kernel.
What version fixes GHSA-xfqg-p48g-hh94?
Upgrading to 7.5.29 (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.29. Upgrade your dependency to 7.5.29 or later.
What CWE is associated with GHSA-xfqg-p48g-hh94?
GHSA-xfqg-p48g-hh94 is classified under CWE-208: Observable Timing Discrepancy (Two separate operations in a product require different amounts of time to complete, in a way that is observable to an actor and reveals security-relevant information about the state of the product, such as whether a particular operation was successful or not.).
How can I check Packagist dependencies for GHSA-xfqg-p48g-hh94?
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-xfqg-p48g-hh94",
  "modified" : "2022-06-02T21:02:00Z",
  "published" : "2022-06-02T21:02:00Z",
  "aliases" : [ ],
  "summary" : "Login timing attack in ezsystems/ezpublish-kernel",
  "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" : [ ],
  "affected" : [ {
    "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/ezpublish-kernel/security/advisories/GHSA-xfqg-p48g-hh94"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ezsystems/ezpublish-kernel/commit/913fe17281536a91437d94e8267181ae8b57f5d5"
  }, {
    "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/ezpublish-kernel"
  }, {
    "type" : "WEB",
    "url" : "https://issues.ibexa.co/browse/IBX-1755"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-208" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-06-02T21:02:00Z",
    "nvd_published_at" : null
  }
}