CVE-2022-41876: Ezsystems/ezplatform graphql Ezplatform-graphql GraphQL Queries Can Expose Vulnerability

HIGH
Advisory Identifier: GHSA-c7pc-pgf6-mfh5
CVSS 7.5
CWE-922 CWE-200
Published
Advisory Summary

CVE-2022-41876 is a HIGH (CVSS 7.5) ezplatform-graphql graphql queries can expose vulnerability (CWE-922: Insecure Storage of Sensitive Information) affecting Ezsystems/ezplatform graphql libraries in the Packagist ecosystem. The issue involves ezplatform-graphql graphql queries can expose password hashes. Remediation is available by upgrading affected packages to version 1.0.13, 2.3.12.

CVE-2022-41876 at a Glance

CVE Identifier CVE-2022-41876
GHSA Identifier GHSA-c7pc-pgf6-mfh5
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-922: Insecure Storage of Sensitive Information
Affected Product Ezsystems/ezplatform graphql
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 7.5

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

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

How to Fix CVE-2022-41876

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

How to Check if You Are Affected

To determine whether your application is affected by CVE-2022-41876, inspect your project dependencies for Ezsystems/ezplatform graphql:

inspect dependencies for ezsystems/ezplatform-graphql

Analyze the terminal output to locate any version of Ezsystems/ezplatform graphql in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.0.13), 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-922: Insecure Storage of Sensitive Information, where the product stores sensitive information without properly limiting read or write access by unauthorized actors. In Ezsystems/ezplatform graphql, 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

### Impact Unauthenticated GraphQL queries for user accounts can expose password hashes of users that have created or modified content, typically but not necessarily limited to administrators and editors. ### Patches Resolving versions: Ibexa DXP v1.0.13, v2.3.12 ### Workarounds Remove the "passwordHash" entry from "src/bundle/Resources/config/graphql/User.types.yaml" in the GraphQL package, and other properties like hash type, email, login if you prefer. ### References This issue was reported to us by Philippe Tranca ("trancap") of the company Lexfo. We are very grateful for their research, and responsible disclosure to us of this critical vulnerability. ### For more information If you have any questions or comments about this advisory, please contact Support via your service portal.

CVE-2022-41876 Affected Ezsystems/ezplatform graphql Versions

2 component(s)
Fixed Versions:
1.0.132.3.12
Product / Package Ecosystem Affected Versions Fixed Version
ezsystems/ezplatform-graphql
Packagist
≥ 1.0.0-rc1
< 1.0.13
1.0.13
ezsystems/ezplatform-graphql
Packagist
≥ 2.0.0-beta1
< 2.3.12
2.3.12

References

Frequently Asked Questions

What is CVE-2022-41876?
CVE-2022-41876 is a security vulnerability in Ezsystems/ezplatform graphql involving ezplatform-graphql GraphQL queries can expose password hashes under CWE-922: Insecure Storage of Sensitive Information.
Which Ezsystems/ezplatform graphql versions are affected?
Affected versions include releases prior to 1.0.13, 2.3.12 across affected packages: ezsystems/ezplatform-graphql.
What version fixes CVE-2022-41876?
Upgrading to 1.0.13, 2.3.12 (or the latest patched release for your respective branch) resolves the vulnerability.
Is ezsystems/ezplatform-graphql affected?
Yes, ezsystems/ezplatform-graphql is affected in releases prior to 1.0.13, 2.3.12. Upgrade your dependency to 1.0.13, 2.3.12 or later.
What is the CVSS score of CVE-2022-41876?
CVE-2022-41876 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2022-41876?
CVE-2022-41876 is classified under CWE-922: Insecure Storage of Sensitive Information (The product stores sensitive information without properly limiting read or write access by unauthorized actors.).
How can I check Packagist dependencies for CVE-2022-41876?
Run the dependency tree command: 'inspect dependencies for ezsystems/ezplatform-graphql'. 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-c7pc-pgf6-mfh5",
  "modified" : "2022-11-10T21:46:14Z",
  "published" : "2022-11-10T21:46:14Z",
  "aliases" : [ "CVE-2022-41876" ],
  "summary" : "ezplatform-graphql GraphQL queries can expose password hashes",
  "details" : "### Impact\nUnauthenticated GraphQL queries for user accounts can expose password hashes of users that have created or modified content, typically but not necessarily limited to administrators and editors.\n\n### Patches\n\nResolving versions: Ibexa DXP v1.0.13, v2.3.12\n\n### Workarounds\nRemove the \"passwordHash\" entry from \"src/bundle/Resources/config/graphql/User.types.yaml\" in the GraphQL package, and other properties like hash type, email, login if you prefer.\n\n### References\n\nThis issue was reported to us by Philippe Tranca (\"trancap\") of the company Lexfo. We are very grateful for their research, and responsible disclosure to us of this critical vulnerability. \n\n### For more information\nIf you have any questions or comments about this advisory, please contact Support via your service portal.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "ezsystems/ezplatform-graphql"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.0.0-rc1"
      }, {
        "fixed" : "1.0.13"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "ezsystems/ezplatform-graphql"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.0.0-beta1"
      }, {
        "fixed" : "2.3.12"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/ezsystems/ezplatform-graphql/security/advisories/GHSA-c7pc-pgf6-mfh5"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-41876"
  }, {
    "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/ezplatform-graphql"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200", "CWE-922" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-11-10T21:46:14Z",
    "nvd_published_at" : "2022-11-10T21:15:00Z"
  }
}