GHSA-8xv9-qcr9-ww9j: Shopware/platform Authenticated XML External Entity Processing Vulnerability

MODERATE
CVSS 5.6
CWE-611
Published
Advisory Summary

GHSA-8xv9-qcr9-ww9j is a MODERATE (CVSS 5.6) authenticated xml external entity processing vulnerability (CWE-611: Improper Restriction of XML External Entity Reference) affecting Shopware/platform libraries in the Packagist ecosystem. The issue involves authenticated xml external entity processing. Remediation is available by upgrading affected packages to version 6.3.2.1.

GHSA-8xv9-qcr9-ww9j at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-8xv9-qcr9-ww9j
Severity MODERATE
CVSS v3.1 Base Score 5.6
CWE Classification CWE-611: Improper Restriction of XML External Entity Reference
Affected Product Shopware/platform
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 5.6

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:L/A:L).

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 Low (I:L)
Availability Low (A:L)

How to Fix GHSA-8xv9-qcr9-ww9j

To remediate this vulnerability, upgrade all affected Shopware/platform dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

shopware/platform fixed: 6.3.2.1
Upgrade shopware/platform to 6.3.2.1
shopware/core fixed: 6.3.2.1
Upgrade shopware/core to 6.3.2.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 shopware/platform

How to Check if You Are Affected

To determine whether your application is affected by GHSA-8xv9-qcr9-ww9j, inspect your project dependencies for Shopware/platform:

inspect dependencies for shopware/platform

Analyze the terminal output to locate any version of Shopware/platform in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 6.3.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-611: Improper Restriction of XML External Entity Reference, where the product processes an xml document that can contain xml entities with uris that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output. In Shopware/platform, 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 Authenticated XML External Entity Processing ### Patches We recommend to update to the current version 6.3.2.1. You can get the update to 6.3.2.1 regularly via the Auto-Updater or directly via the download overview. https://www.shopware.com/en/download/#shopware-6 ### Workarounds For older versions of 6.1 and 6.2 the corresponding changes are also available via plugin: https://store.shopware.com/en/detail/index/sArticle/518463/number/Swag136939272659 ### For more information https://docs.shopware.com/en/shopware-6-en/security-updates/security-update-10-2020

GHSA-8xv9-qcr9-ww9j Affected Shopware/platform Versions

2 component(s)
Fixed Versions:
6.3.2.1
Product / Package Ecosystem Affected Versions Fixed Version
shopware/platform
Packagist
< 6.3.2.1
6.3.2.1
shopware/core
Packagist
< 6.3.2.1
6.3.2.1

References

Frequently Asked Questions

What is GHSA-8xv9-qcr9-ww9j?
GHSA-8xv9-qcr9-ww9j is a security vulnerability in Shopware/platform involving Authenticated XML External Entity Processing under CWE-611: Improper Restriction of XML External Entity Reference.
Which Shopware/platform versions are affected?
Affected versions include releases prior to 6.3.2.1 across affected packages: shopware/platform, shopware/core.
What version fixes GHSA-8xv9-qcr9-ww9j?
Upgrading to 6.3.2.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is shopware/platform affected?
Yes, shopware/platform is affected in releases prior to 6.3.2.1. Upgrade your dependency to 6.3.2.1 or later.
Is shopware/core affected?
Yes, shopware/core is affected in releases prior to 6.3.2.1. Upgrade your dependency to 6.3.2.1 or later.
What is the CVSS score of GHSA-8xv9-qcr9-ww9j?
GHSA-8xv9-qcr9-ww9j has a CVSS v3.1 base score of 5.6 (MODERATE) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L.
What CWE is associated with GHSA-8xv9-qcr9-ww9j?
GHSA-8xv9-qcr9-ww9j is classified under CWE-611: Improper Restriction of XML External Entity Reference (The product processes an XML document that can contain XML entities with URIs that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output.).
How can I check Packagist dependencies for GHSA-8xv9-qcr9-ww9j?
Run the dependency tree command: 'inspect dependencies for shopware/platform'. 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-8xv9-qcr9-ww9j",
  "modified" : "2021-10-04T21:28:06Z",
  "published" : "2020-10-19T21:32:18Z",
  "aliases" : [ ],
  "summary" : "Authenticated XML External Entity Processing",
  "details" : "### Impact\nAuthenticated XML External Entity Processing\n\n### Patches\nWe recommend to update to the current version 6.3.2.1. You can get the update to 6.3.2.1 regularly via the Auto-Updater or directly via the download overview.\n\nhttps://www.shopware.com/en/download/#shopware-6\n\n### Workarounds\nFor older versions of 6.1 and 6.2 the corresponding changes are also available via plugin:\nhttps://store.shopware.com/en/detail/index/sArticle/518463/number/Swag136939272659\n\n### For more information\nhttps://docs.shopware.com/en/shopware-6-en/security-updates/security-update-10-2020",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "shopware/platform"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "6.3.2.1"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 6.3.2.0"
    }
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "shopware/core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "6.3.2.1"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 6.3.2.0"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/shopware/platform/security/advisories/GHSA-8xv9-qcr9-ww9j"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/shopware/platform"
  }, {
    "type" : "WEB",
    "url" : "https://snyk.io/vuln/SNYK-PHP-SHOPWAREPLATFORM-1019470"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-611" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2020-10-19T21:32:05Z",
    "nvd_published_at" : null
  }
}