GHSA-82rv-45pc-v28w: Ezsystems/ezpublish legacy EZ Publish Legacy Patch EZSA-2018-001 Vulnerability

HIGH
Published
Advisory Summary

GHSA-82rv-45pc-v28w is a HIGH ez publish legacy patch ezsa-2018-001 vulnerability (General Security Weakness) affecting Ezsystems/ezpublish legacy libraries in the Packagist ecosystem. The issue involves ez publish legacy patch ezsa-2018-001 for several vulnerabilities. Remediation is available by upgrading affected packages to version 2017.12.2.1, 5.4.11.3, 5.3.12.3.

GHSA-82rv-45pc-v28w at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-82rv-45pc-v28w
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Ezsystems/ezpublish legacy
Package Ecosystem Packagist
Published Date
Last Updated

How to Fix GHSA-82rv-45pc-v28w

To remediate this vulnerability, upgrade all affected Ezsystems/ezpublish legacy 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-legacy fixed: 2017.12.2.1
Upgrade ezsystems/ezpublish-legacy to 2017.12.2.1
ezsystems/ezpublish-legacy fixed: 5.4.11.3
Upgrade ezsystems/ezpublish-legacy to 5.4.11.3
ezsystems/ezpublish-legacy fixed: 5.3.12.3
Upgrade ezsystems/ezpublish-legacy to 5.3.12.3
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-legacy

How to Check if You Are Affected

To determine whether your application is affected by GHSA-82rv-45pc-v28w, inspect your project dependencies for Ezsystems/ezpublish legacy:

inspect dependencies for ezsystems/ezpublish-legacy

Analyze the terminal output to locate any version of Ezsystems/ezpublish legacy in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2017.12.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 General Security Weakness. In Ezsystems/ezpublish legacy, 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 fixes 4 separate vulnerabilities in eZ Publish Legacy, and we recommend that you install it as soon as possible if you are using Legacy by itself or via the LegacyBridge. First, it increases the randomness, and thus the security, of the pseudo-random bytes used to generate a hash for the "forgot password" feature. This protects accounts against being taken over through attacks trying to predict the hash. If the increased randomness is not available in your PHP installation, it will now log a warning. Second, it improves security of the information collector feature, by ensuring no collection emails will be sent from invalid manipulated forms. Third, it stops the possible leaking of the names of content objects that should not be readable for certain users, on installations where these users can create or edit XML text. Fourth, it protects against cross-site scripting (XSS) in the Matrix data type, on installations where users are allowed to edit content classes / content types. We recommend that you install the security update as soon as possible. To install, use Composer to update to one of the "Resolving versions" mentioned above, or apply these patches manually: https://github.com/ezsystems/ezpublish-legacy/commit/917711eb7ffe2b52a3e9fe12505f6810a63696f7 https://github.com/ezsystems/ezpublish-legacy/commit/6db0e6b7739481f27d954548388bd3f0ed2c6fdd https://github.com/ezsystems/ezpublish-legacy/commit/efcd2b61b15eaaf74e0ff28d6c723cf28e655dab https://github.com/ezsystems/ezpublish-legacy/commit/f9ffaf590b63b4f552142cfd4441afbbfb3f19b1

GHSA-82rv-45pc-v28w Affected Ezsystems/ezpublish legacy Versions

3 component(s)
Fixed Versions:
2017.12.2.15.4.11.35.3.12.3
Product / Package Ecosystem Affected Versions Fixed Version
ezsystems/ezpublish-legacy
Packagist
≥ 2011.0.0
< 2017.12.2.1
2017.12.2.1
ezsystems/ezpublish-legacy
Packagist
≥ 5.4.0
< 5.4.11.3
5.4.11.3
ezsystems/ezpublish-legacy
Packagist
≥ 5.3.0
< 5.3.12.3
5.3.12.3

References

Frequently Asked Questions

What is GHSA-82rv-45pc-v28w?
GHSA-82rv-45pc-v28w is a security vulnerability in Ezsystems/ezpublish legacy involving eZ Publish Legacy Patch EZSA-2018-001 for Several vulnerabilities under General Security Weakness.
Which Ezsystems/ezpublish legacy versions are affected?
Affected versions include releases prior to 2017.12.2.1, 5.4.11.3, 5.3.12.3 across affected packages: ezsystems/ezpublish-legacy.
What version fixes GHSA-82rv-45pc-v28w?
Upgrading to 2017.12.2.1, 5.4.11.3, 5.3.12.3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is ezsystems/ezpublish-legacy affected?
Yes, ezsystems/ezpublish-legacy is affected in releases prior to 2017.12.2.1, 5.4.11.3, 5.3.12.3. Upgrade your dependency to 2017.12.2.1, 5.4.11.3, 5.3.12.3 or later.
What CWE is associated with GHSA-82rv-45pc-v28w?
GHSA-82rv-45pc-v28w is classified under General Security Weakness.
How can I check Packagist dependencies for GHSA-82rv-45pc-v28w?
Run the dependency tree command: 'inspect dependencies for ezsystems/ezpublish-legacy'. 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-82rv-45pc-v28w",
  "modified" : "2024-05-15T21:22:03Z",
  "published" : "2024-05-15T21:22:03Z",
  "aliases" : [ ],
  "summary" : "eZ Publish Legacy Patch EZSA-2018-001 for Several vulnerabilities",
  "details" : "This security advisory fixes 4 separate vulnerabilities in eZ Publish Legacy, and we recommend that you install it as soon as possible if you are using Legacy by itself or via the LegacyBridge.\n \nFirst, it increases the randomness, and thus the security, of the pseudo-random bytes used to generate a hash for the \"forgot password\" feature. This protects accounts against being taken over through attacks trying to predict the hash. If the increased randomness is not available in your PHP installation, it will now log a warning.\n \nSecond, it improves security of the information collector feature, by ensuring no collection emails will be sent from invalid manipulated forms.\n \nThird, it stops the possible leaking of the names of content objects that should not be readable for certain users, on installations where these users can create or edit XML text.\n \nFourth, it protects against cross-site scripting (XSS) in the Matrix data type, on installations where users are allowed to edit content classes / content types.\n\nWe recommend that you install the security update as soon as possible.\n\nTo install, use Composer to update to one of the \"Resolving versions\" mentioned above, or apply these patches manually:\nhttps://github.com/ezsystems/ezpublish-legacy/commit/917711eb7ffe2b52a3e9fe12505f6810a63696f7\nhttps://github.com/ezsystems/ezpublish-legacy/commit/6db0e6b7739481f27d954548388bd3f0ed2c6fdd\nhttps://github.com/ezsystems/ezpublish-legacy/commit/efcd2b61b15eaaf74e0ff28d6c723cf28e655dab\nhttps://github.com/ezsystems/ezpublish-legacy/commit/f9ffaf590b63b4f552142cfd4441afbbfb3f19b1",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "ezsystems/ezpublish-legacy"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2011.0.0"
      }, {
        "fixed" : "2017.12.2.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "ezsystems/ezpublish-legacy"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "5.4.0"
      }, {
        "fixed" : "5.4.11.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "ezsystems/ezpublish-legacy"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "5.3.0"
      }, {
        "fixed" : "5.3.12.3"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/ezsystems/ezpublish-legacy/commit/6db0e6b7739481f27d954548388bd3f0ed2c6fdd"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ezsystems/ezpublish-legacy/commit/917711eb7ffe2b52a3e9fe12505f6810a63696f7"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ezsystems/ezpublish-legacy/commit/efcd2b61b15eaaf74e0ff28d6c723cf28e655dab"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ezsystems/ezpublish-legacy/commit/f9ffaf590b63b4f552142cfd4441afbbfb3f19b1"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/ezsystems/ezpublish-legacy/2018-02-26-1.yaml"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/ezsystems/ezpublish-legacy"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20210614192631/http://share.ez.no/community-project/security-advisories/ezsa-2018-001-several-vulnerabilities-in-forgot-password-information-collector-xml-text-and-matrix-field-type-features"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-05-15T21:22:03Z",
    "nvd_published_at" : null
  }
}