GHSA-83jv-4prm-34g7: Shopware/shopware Remote Code Execution Vulnerability
CRITICALGHSA-83jv-4prm-34g7 is a CRITICAL (CVSS 9.8) remote code execution vulnerability (CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine) affecting Shopware/shopware libraries in the Packagist ecosystem. The issue involves shopware remote code execution vulnerability. Remediation is available by upgrading affected packages to version 5.2.25.
GHSA-83jv-4prm-34g7 at a Glance
Security Impact
CVSS: 9.8
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:H/A:H).
How to Fix GHSA-83jv-4prm-34g7
To remediate this vulnerability, upgrade all affected Shopware/shopware dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade shopware/shopware to 5.2.25
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for shopware/shopware
How to Check if You Are Affected
To determine whether your application is affected by GHSA-83jv-4prm-34g7, inspect your project dependencies for Shopware/shopware:
inspect dependencies for shopware/shopware
Analyze the terminal output to locate any version of Shopware/shopware in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.2.25), 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-1336: Improper Neutralization of Special Elements Used in a Template Engine, where the product uses a template engine to insert or process externally-influenced input, but it does not neutralize or incorrectly neutralizes special elements or syntax that can be interpreted as template expressions or other code directives when processed by the engine. In Shopware/shopware, 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
GHSA-83jv-4prm-34g7 Affected Shopware/shopware Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
shopware/shopware
|
Packagist |
≥ 4.2.0
< 5.2.25
|
5.2.25
|
References
Frequently Asked Questions
What is GHSA-83jv-4prm-34g7?
Which Shopware/shopware versions are affected?
What version fixes GHSA-83jv-4prm-34g7?
Is shopware/shopware affected?
What is the CVSS score of GHSA-83jv-4prm-34g7?
What CWE is associated with GHSA-83jv-4prm-34g7?
How can I check Packagist dependencies for GHSA-83jv-4prm-34g7?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-83jv-4prm-34g7",
"modified" : "2024-05-21T21:00:39Z",
"published" : "2024-05-21T21:00:39Z",
"aliases" : [ ],
"summary" : "Shopware Remote Code Execution Vulnerability",
"details" : "Under certain circumstances it is possible to execute an authorized foreign code in Shopware version prior to 5.2.25.\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "shopware/shopware"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.2.0"
}, {
"fixed" : "5.2.25"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/shopware5/shopware/commit/8f6a7cefcba7547276892b82f64e4874c1a0dfed"
}, {
"type" : "WEB",
"url" : "https://community.shopware.com/_detail_2015.html"
}, {
"type" : "WEB",
"url" : "https://docs.shopware.com/en/shopware-5-en/security-updates/security-update-06-2017?category=shopware-5-en/security-updates"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/shopware/shopware/2017-06-22.yaml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/shopware5/shopware"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-1336" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2024-05-21T21:00:39Z",
"nvd_published_at" : null
}
}