GHSA-q3g4-2vw9-xv27 Shopware Remote Code Execution Vulnerability
Not scored
Published
Check this codebase for GHSA-q3g4-2vw9-xv27 and fix it if it is affected.
What it is: GHSA-q3g4-2vw9-xv27 is a code injection vulnerability in shopware/shopware, published on 21 May 2024. It can be exploited over the network.
Exploitation: There is no known exploitation of GHSA-q3g4-2vw9-xv27 in the wild and no public exploit code.
Affected packages and fixed versions:
- shopware/shopware (Packagist): affected all versions; fixed in 1.0.8
- shopware/shopware (Packagist): affected all versions; fixed in 1.0.8
- shopware/shopware (Packagist): affected from 4.0.0; fixed in 5.2.15
- shopware/shopware (Packagist): affected from 4.0.0; fixed in 5.2.15
Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.
Reference: https://insights.sbomify.com/GHSA-q3g4-2vw9-xv27/ (Markdown: https://insights.sbomify.com/GHSA-q3g4-2vw9-xv27/index.md)
Attackers can execute unauthorized code on Shopware systems, potentially compromising the entire server infrastructure.
- Exploited in the wild
- Not known
- Login needed
- Not stated
- Attackable
- Over the internet
- Victim action needed
- Not stated
- Fix
- Available
What is GHSA-q3g4-2vw9-xv27?
GHSA-q3g4-2vw9-xv27 is a code injection vulnerability in shopware/shopware, published on 21 May 2024. It can be exploited over the network.
Official description
Under certain circumstances, it’s possible to execute an unauthorized foreign code in Shopware. This is a critical security vulnerability that could affect the entire system. All Shopware versions including Shopware 5.2.14 are affected.
Which versions are affected by GHSA-q3g4-2vw9-xv27?
4 open source packages ship an affected version, including shopware/shopware.
| Package | Affected | Fixed in |
|---|---|---|
shopware/shopware Packagist | All versions | 1.0.8 |
shopware/shopware Packagist | All versions | 1.0.8 |
shopware/shopware Packagist | From 4.0.0 | 5.2.15 |
shopware/shopware Packagist | From 4.0.0 | 5.2.15 |
How do I fix GHSA-q3g4-2vw9-xv27?
Upgrade shopware/shopware to a fixed version for your release line: 1.0.8 or 5.2.15.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is GHSA-q3g4-2vw9-xv27 being exploited?
There is no known exploitation of GHSA-q3g4-2vw9-xv27 in the wild and no public exploit code.