GHSA-7vwg-39h8-8qp8: Ezsystems/ezplatform rest /user/sessions Endpoint Allows Detecting Valid Vulnerability

HIGH
CWE-203
Published
Advisory Summary

GHSA-7vwg-39h8-8qp8 is a HIGH /user/sessions endpoint allows detecting valid vulnerability (CWE-203: Observable Discrepancy) affecting Ezsystems/ezplatform rest libraries in the Packagist ecosystem. The issue involves /user/sessions endpoint allows detecting valid accounts. Remediation is available by upgrading affected packages to version 1.2.2.1, 1.3.1.1.

GHSA-7vwg-39h8-8qp8 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-7vwg-39h8-8qp8
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-203: Observable Discrepancy
Affected Product Ezsystems/ezplatform rest
Package Ecosystem Packagist
Published Date
Last Updated

How to Fix GHSA-7vwg-39h8-8qp8

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

How to Check if You Are Affected

To determine whether your application is affected by GHSA-7vwg-39h8-8qp8, inspect your project dependencies for Ezsystems/ezplatform rest:

inspect dependencies for ezsystems/ezplatform-rest

Analyze the terminal output to locate any version of Ezsystems/ezplatform rest in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.2.2.1), 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-203: Observable Discrepancy, where the product behaves differently or sends different responses under different circumstances in a way that is observable to an unauthorized actor. In Ezsystems/ezplatform rest, 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 a vulnerability in eZ Platform v1.13, v2.5, and v3.2, and in Ibexa DXP and Ibexa Open Source v3.3. The /user/sessions endpoint can let an attacker detect if a given username or email refers to a valid account. This can be detected through differences in the response data or response time of certain requests. The fix ensures neither attack is possible. The fix is distributed via Composer. If you come across a security issue in our products, here is how you can report it to us: https://doc.ibexa.co/en/latest/guide/reporting_issues/#toc

GHSA-7vwg-39h8-8qp8 Affected Ezsystems/ezplatform rest Versions

2 component(s)
Fixed Versions:
1.2.2.11.3.1.1
Product / Package Ecosystem Affected Versions Fixed Version
ezsystems/ezplatform-rest
Packagist
≥ 1.2.0
< 1.2.2.1
1.2.2.1
ezsystems/ezplatform-rest
Packagist
≥ 1.3.0
< 1.3.1.1
1.3.1.1

References

Frequently Asked Questions

What is GHSA-7vwg-39h8-8qp8?
GHSA-7vwg-39h8-8qp8 is a security vulnerability in Ezsystems/ezplatform rest involving /user/sessions endpoint allows detecting valid accounts under CWE-203: Observable Discrepancy.
Which Ezsystems/ezplatform rest versions are affected?
Affected versions include releases prior to 1.2.2.1, 1.3.1.1 across affected packages: ezsystems/ezplatform-rest.
What version fixes GHSA-7vwg-39h8-8qp8?
Upgrading to 1.2.2.1, 1.3.1.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is ezsystems/ezplatform-rest affected?
Yes, ezsystems/ezplatform-rest is affected in releases prior to 1.2.2.1, 1.3.1.1. Upgrade your dependency to 1.2.2.1, 1.3.1.1 or later.
What CWE is associated with GHSA-7vwg-39h8-8qp8?
GHSA-7vwg-39h8-8qp8 is classified under CWE-203: Observable Discrepancy (The product behaves differently or sends different responses under different circumstances in a way that is observable to an unauthorized actor.).
How can I check Packagist dependencies for GHSA-7vwg-39h8-8qp8?
Run the dependency tree command: 'inspect dependencies for ezsystems/ezplatform-rest'. 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-7vwg-39h8-8qp8",
  "modified" : "2021-03-11T17:41:09Z",
  "published" : "2021-03-11T17:42:01Z",
  "aliases" : [ ],
  "summary" : "/user/sessions endpoint allows detecting valid accounts",
  "details" : "This Security Advisory is about a vulnerability in eZ Platform v1.13, v2.5, and v3.2, and in Ibexa DXP and Ibexa Open Source v3.3. The /user/sessions endpoint can let an attacker detect if a given username or email refers to a valid account. This can be detected through differences in the response data or response time of certain requests. The fix ensures neither attack is possible. The fix is distributed via Composer.\n\nIf you come across a security issue in our products, here is how you can report it to us: https://doc.ibexa.co/en/latest/guide/reporting_issues/#toc",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "ezsystems/ezplatform-rest"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.2.0"
      }, {
        "fixed" : "1.2.2.1"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 1.2.2.0"
    }
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "ezsystems/ezplatform-rest"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.3.0"
      }, {
        "fixed" : "1.3.1.1"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 1.3.1.0"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/ezsystems/ezplatform-rest/security/advisories/GHSA-7vwg-39h8-8qp8"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ezsystems/ezplatform-rest/commit/e239bba8b154a3b4cf787e29b9f15edf8945d933"
  }, {
    "type" : "WEB",
    "url" : "https://packagist.org/packages/ezsystems/ezplatform-rest"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-203" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2021-03-11T17:41:09Z",
    "nvd_published_at" : null
  }
}