GHSA-r64m-qchj-hrjp: Shopware/core Webcache Poisoning Vulnerability

CRITICAL
CWE-444
Published
Advisory Summary

GHSA-r64m-qchj-hrjp is a CRITICAL webcache poisoning vulnerability (CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')) affecting Shopware/core libraries in the Packagist ecosystem. The issue involves webcache poisoning in shopware/platform and shopware/core. Remediation is available by upgrading affected packages to version 6.4.6.1.

GHSA-r64m-qchj-hrjp at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-r64m-qchj-hrjp
Severity CRITICAL
CVSS v3.1 Base Score N/A
CWE Classification CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')
Affected Product Shopware/core
Package Ecosystem Packagist
Published Date
Last Updated

How to Fix GHSA-r64m-qchj-hrjp

To remediate this vulnerability, upgrade all affected Shopware/core 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/core fixed: 6.4.6.1
Upgrade shopware/core to 6.4.6.1
shopware/platform fixed: 6.4.6.1
Upgrade shopware/platform to 6.4.6.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/core

How to Check if You Are Affected

To determine whether your application is affected by GHSA-r64m-qchj-hrjp, inspect your project dependencies for Shopware/core:

inspect dependencies for shopware/core

Analyze the terminal output to locate any version of Shopware/core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 6.4.6.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-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling'), where the product acts as an intermediary http agent (such as a proxy or firewall) in the data flow between two entities such as a client and server, but it does not interpret malformed http requests or responses in ways that are consistent with how the messages will be processed by those entities that are at the ultimate destination. In Shopware/core, 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 Webcache Poisoning via X-Forwarded-Prefix and sub-request ### Patches We recommend updating to the current version 6.4.6.1. You can get the update to 6.4.6.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, 6.2, and 6.3, corresponding security measures are also available via a plugin. For the full range of functions, we recommend updating to the latest Shopware version. https://store.shopware.com/en/detail/index/sArticle/518463/number/Swag136939272659

GHSA-r64m-qchj-hrjp Affected Shopware/core Versions

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

References

Frequently Asked Questions

What is GHSA-r64m-qchj-hrjp?
GHSA-r64m-qchj-hrjp is a security vulnerability in Shopware/core involving Webcache Poisoning in shopware/platform and shopware/core under CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling').
Which Shopware/core versions are affected?
Affected versions include releases prior to 6.4.6.1 across affected packages: shopware/core, shopware/platform.
What version fixes GHSA-r64m-qchj-hrjp?
Upgrading to 6.4.6.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is shopware/core affected?
Yes, shopware/core is affected in releases prior to 6.4.6.1. Upgrade your dependency to 6.4.6.1 or later.
Is shopware/platform affected?
Yes, shopware/platform is affected in releases prior to 6.4.6.1. Upgrade your dependency to 6.4.6.1 or later.
What CWE is associated with GHSA-r64m-qchj-hrjp?
GHSA-r64m-qchj-hrjp is classified under CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling') (The product acts as an intermediary HTTP agent (such as a proxy or firewall) in the data flow between two entities such as a client and server, but it does not interpret malformed HTTP requests or responses in ways that are consistent with how the messages will be processed by those entities that are at the ultimate destination.).
How can I check Packagist dependencies for GHSA-r64m-qchj-hrjp?
Run the dependency tree command: 'inspect dependencies for shopware/core'. 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-r64m-qchj-hrjp",
  "modified" : "2021-11-24T19:58:48Z",
  "published" : "2021-11-24T20:05:19Z",
  "aliases" : [ ],
  "summary" : "Webcache Poisoning in shopware/platform and shopware/core",
  "details" : "### Impact\nWebcache Poisoning via X-Forwarded-Prefix and sub-request\n\n### Patches\nWe recommend updating to the current version 6.4.6.1. You can get the update to 6.4.6.1 regularly via the Auto-Updater or directly via the download overview.\n\nhttps://www.shopware.com/en/download/#shopware-6\n\nWorkarounds\nFor older versions of 6.1, 6.2, and 6.3, corresponding security measures are also available via a plugin. For the full range of functions, we recommend updating to the latest Shopware version.\n\nhttps://store.shopware.com/en/detail/index/sArticle/518463/number/Swag136939272659\n",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "shopware/core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "6.4.6.1"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 6.4.6.0"
    }
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "shopware/platform"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "6.4.6.1"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 6.4.6.0"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/shopware/platform/security/advisories/GHSA-r64m-qchj-hrjp"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/shopware/platform/commit/9062f15450d183f2c666664841efd4f5ef25e0f3"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/shopware/platform"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-444" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2021-11-24T19:58:48Z",
    "nvd_published_at" : null
  }
}