GHSA-3pcr-4982-548m Exposure of .env if project root is configured as web root in shopware/production
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- PHP
Description
Impact
The .env and other sensitive files can be leaked if the project root and not /public is configured as the web root.
Patches
We recommend to update to the current version 6.3.5.3. You can get the update to 6.3.5.3 regularly via the Auto-Updater or directly via the download overview.
https://www.shopware.com/en/download/#shopware-6
Workarounds
You should always use /public as the web root.
For older versions of 6.1 and 6.2, 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
For more information
https://docs.shopware.com/en/shopware-6-en/security-updates/security-update-04-2021
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Shopware(Packagist) | < 6.3.5.3; <= 6.3.5.2; = 1.0.2; = 1.0.8 +134 more | 6.3.5.3 | Fixed |
| shopware/production(Packagist) | < 6.3.5.3; <= 6.3.5.2; = v6.1.0; = v6.1.0-rc1 +27 more | 6.3.5.3 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| shopware/production(Packagist) | < 6.3.5.3 | 6.3.5.3 |
| shopware/production(Packagist) | = v6.1.0 | No fix listed |
| shopware/production(Packagist) | = v6.1.0-rc1 | No fix listed |
| shopware/production(Packagist) | = v6.1.0-rc2 | No fix listed |
| shopware/production(Packagist) | = v6.1.0-rc3 | No fix listed |
| shopware/production(Packagist) | = v6.1.1 | No fix listed |
| shopware/production(Packagist) | = v6.1.2 | No fix listed |
| shopware/production(Packagist) | = v6.1.3 | No fix listed |
| shopware/production(Packagist) | = v6.1.4 | No fix listed |
| shopware/production(Packagist) | = v6.1.5 | No fix listed |
| shopware/production(Packagist) | = v6.1.6 | No fix listed |
| shopware/production(Packagist) | = v6.2.0 | No fix listed |
| shopware/production(Packagist) | = v6.2.0-RC1 | No fix listed |
| shopware/production(Packagist) | = v6.2.1 | No fix listed |
| shopware/production(Packagist) | = v6.2.2 | No fix listed |
| shopware/production(Packagist) | = v6.2.3 | No fix listed |
| shopware/production(Packagist) | = v6.3.0.0 | No fix listed |
| shopware/production(Packagist) | = v6.3.0.1 | No fix listed |
| shopware/production(Packagist) | = v6.3.0.2 | No fix listed |
| shopware/production(Packagist) | = v6.3.1.0 | No fix listed |
| shopware/production(Packagist) | = v6.3.1.1 | No fix listed |
| shopware/production(Packagist) | = v6.3.2.0 | No fix listed |
| shopware/production(Packagist) | = v6.3.2.1 | No fix listed |
| shopware/production(Packagist) | = v6.3.3.0 | No fix listed |
| shopware/production(Packagist) | = v6.3.3.1 | No fix listed |
Show 144 more
| Product | Affected versions | Fixed in |
|---|---|---|
| shopware/production(Packagist) | = v6.3.4.0 | No fix listed |
| shopware/production(Packagist) | = v6.3.4.1 | No fix listed |
| shopware/production(Packagist) | = v6.3.5.0 | No fix listed |
| shopware/production(Packagist) | = v6.3.5.1 | No fix listed |
| shopware/production(Packagist) | = v6.3.5.2 | No fix listed |
| Shopware(Packagist) | < 6.3.5.3 | 6.3.5.3 |
| Shopware(Packagist) | = 1.0.2 | No fix listed |
| Shopware(Packagist) | = 1.0.8 | No fix listed |
| Shopware(Packagist) | = 4.2.0 | No fix listed |
| Shopware(Packagist) | = 4.2.0-rc.1 | No fix listed |
| Shopware(Packagist) | = 4.2.1 | No fix listed |
| Shopware(Packagist) | = 4.2.1.1 | No fix listed |
| Shopware(Packagist) | = 4.2.2 | No fix listed |
| Shopware(Packagist) | = 4.2.3 | No fix listed |
| Shopware(Packagist) | = 4.3.0 | No fix listed |
| Shopware(Packagist) | = 4.3.1 | No fix listed |
| Shopware(Packagist) | = 4.3.2 | No fix listed |
| Shopware(Packagist) | = 4.3.3 | No fix listed |
| Shopware(Packagist) | = 4.3.4 | No fix listed |
| Shopware(Packagist) | = 4.3.5 | No fix listed |
| Shopware(Packagist) | = 4.3.6 | No fix listed |
| Shopware(Packagist) | = 4.3.7 | No fix listed |
| Shopware(Packagist) | = 5.3.0 | No fix listed |
| Shopware(Packagist) | = v5.0.0 | No fix listed |
| Shopware(Packagist) | = v5.0.0-BETA1 | No fix listed |
| Shopware(Packagist) | = v5.0.0-BETA2 | No fix listed |
| Shopware(Packagist) | = v5.0.0-RC1 | No fix listed |
| Shopware(Packagist) | = v5.0.0-RC2 | No fix listed |
| Shopware(Packagist) | = v5.0.0-RC3 | No fix listed |
| Shopware(Packagist) | = v5.0.1 | No fix listed |
| Shopware(Packagist) | = v5.0.2 | No fix listed |
| Shopware(Packagist) | = v5.0.2-RC1 | No fix listed |
| Shopware(Packagist) | = v5.0.3 | No fix listed |
| Shopware(Packagist) | = v5.0.3-RC1 | No fix listed |
| Shopware(Packagist) | = v5.0.4 | No fix listed |
| Shopware(Packagist) | = v5.0.4-RC1 | No fix listed |
| Shopware(Packagist) | = v5.1.0 | No fix listed |
| Shopware(Packagist) | = v5.1.0-RC2 | No fix listed |
| Shopware(Packagist) | = v5.1.0-RC3 | No fix listed |
| Shopware(Packagist) | = v5.1.1 | No fix listed |
| Shopware(Packagist) | = v5.1.2 | No fix listed |
| Shopware(Packagist) | = v5.1.2-RC1 | No fix listed |
| Shopware(Packagist) | = v5.1.2-RC2 | No fix listed |
| Shopware(Packagist) | = v5.1.3 | No fix listed |
| Shopware(Packagist) | = v5.1.3-RC1 | No fix listed |
| Shopware(Packagist) | = v5.1.4 | No fix listed |
| Shopware(Packagist) | = v5.1.5 | No fix listed |
| Shopware(Packagist) | = v5.1.6 | No fix listed |
| Shopware(Packagist) | = v5.2.0 | No fix listed |
| Shopware(Packagist) | = v5.2.0-BETA1 | No fix listed |
| Shopware(Packagist) | = v5.2.0-RC1 | No fix listed |
| Shopware(Packagist) | = v5.2.0-RC2 | No fix listed |
| Shopware(Packagist) | = v5.2.0-RC3 | No fix listed |
| Shopware(Packagist) | = v5.2.1 | No fix listed |
| Shopware(Packagist) | = v5.2.10 | No fix listed |
| Shopware(Packagist) | = v5.2.11 | No fix listed |
| Shopware(Packagist) | = v5.2.12 | No fix listed |
| Shopware(Packagist) | = v5.2.13 | No fix listed |
| Shopware(Packagist) | = v5.2.14 | No fix listed |
| Shopware(Packagist) | = v5.2.15 | No fix listed |
| Shopware(Packagist) | = v5.2.16 | No fix listed |
| Shopware(Packagist) | = v5.2.17 | No fix listed |
| Shopware(Packagist) | = v5.2.18 | No fix listed |
| Shopware(Packagist) | = v5.2.19 | No fix listed |
| Shopware(Packagist) | = v5.2.2 | No fix listed |
| Shopware(Packagist) | = v5.2.20 | No fix listed |
| Shopware(Packagist) | = v5.2.21 | No fix listed |
| Shopware(Packagist) | = v5.2.22 | No fix listed |
| Shopware(Packagist) | = v5.2.23 | No fix listed |
| Shopware(Packagist) | = v5.2.24 | No fix listed |
| Shopware(Packagist) | = v5.2.25 | No fix listed |
| Shopware(Packagist) | = v5.2.26 | No fix listed |
| Shopware(Packagist) | = v5.2.27 | No fix listed |
| Shopware(Packagist) | = v5.2.3 | No fix listed |
| Shopware(Packagist) | = v5.2.4 | No fix listed |
| Shopware(Packagist) | = v5.2.5 | No fix listed |
| Shopware(Packagist) | = v5.2.6 | No fix listed |
| Shopware(Packagist) | = v5.2.7 | No fix listed |
| Shopware(Packagist) | = v5.2.8 | No fix listed |
| Shopware(Packagist) | = v5.2.9 | No fix listed |
| Shopware(Packagist) | = v5.3.4 | No fix listed |
| Shopware(Packagist) | = v5.3.5 | No fix listed |
| Shopware(Packagist) | = v5.3.6 | No fix listed |
| Shopware(Packagist) | = v5.3.7 | No fix listed |
| Shopware(Packagist) | = v5.4.0 | No fix listed |
| Shopware(Packagist) | = v5.4.0-RC1 | No fix listed |
| Shopware(Packagist) | = v5.4.1 | No fix listed |
| Shopware(Packagist) | = v5.4.2 | No fix listed |
| Shopware(Packagist) | = v5.4.3 | No fix listed |
| Shopware(Packagist) | = v5.4.4 | No fix listed |
| Shopware(Packagist) | = v5.4.5 | No fix listed |
| Shopware(Packagist) | = v5.4.6 | No fix listed |
| Shopware(Packagist) | = v5.5.0 | No fix listed |
| Shopware(Packagist) | = v5.5.0-BETA1 | No fix listed |
| Shopware(Packagist) | = v5.5.0-RC1 | No fix listed |
| Shopware(Packagist) | = v5.5.1 | No fix listed |
| Shopware(Packagist) | = v5.5.10 | No fix listed |
| Shopware(Packagist) | = v5.5.2 | No fix listed |
| Shopware(Packagist) | = v5.5.3 | No fix listed |
| Shopware(Packagist) | = v5.5.4 | No fix listed |
| Shopware(Packagist) | = v5.5.5 | No fix listed |
| Shopware(Packagist) | = v5.5.6 | No fix listed |
| Shopware(Packagist) | = v5.5.7 | No fix listed |
| Shopware(Packagist) | = v5.5.8 | No fix listed |
| Shopware(Packagist) | = v5.5.9 | No fix listed |
| Shopware(Packagist) | = v5.6.0 | No fix listed |
| Shopware(Packagist) | = v5.6.0-RC1 | No fix listed |
| Shopware(Packagist) | = v5.6.1 | No fix listed |
| Shopware(Packagist) | = v5.6.10 | No fix listed |
| Shopware(Packagist) | = v5.6.2 | No fix listed |
| Shopware(Packagist) | = v5.6.3 | No fix listed |
| Shopware(Packagist) | = v5.6.4 | No fix listed |
| Shopware(Packagist) | = v5.6.5 | No fix listed |
| Shopware(Packagist) | = v5.6.6 | No fix listed |
| Shopware(Packagist) | = v5.6.7 | No fix listed |
| Shopware(Packagist) | = v5.6.8 | No fix listed |
| Shopware(Packagist) | = v5.6.9 | No fix listed |
| Shopware(Packagist) | = v5.7.0 | No fix listed |
| Shopware(Packagist) | = v5.7.0-RC1 | No fix listed |
| Shopware(Packagist) | = v5.7.0-RC2 | No fix listed |
| Shopware(Packagist) | = v5.7.1 | No fix listed |
| Shopware(Packagist) | = v5.7.10 | No fix listed |
| Shopware(Packagist) | = v5.7.11 | No fix listed |
| Shopware(Packagist) | = v5.7.12 | No fix listed |
| Shopware(Packagist) | = v5.7.13 | No fix listed |
| Shopware(Packagist) | = v5.7.14 | No fix listed |
| Shopware(Packagist) | = v5.7.15 | No fix listed |
| Shopware(Packagist) | = v5.7.16 | No fix listed |
| Shopware(Packagist) | = v5.7.16-RC1 | No fix listed |
| Shopware(Packagist) | = v5.7.17 | No fix listed |
| Shopware(Packagist) | = v5.7.17-RC1 | No fix listed |
| Shopware(Packagist) | = v5.7.18 | No fix listed |
| Shopware(Packagist) | = v5.7.19 | No fix listed |
| Shopware(Packagist) | = v5.7.2 | No fix listed |
| Shopware(Packagist) | = v5.7.20 | No fix listed |
| Shopware(Packagist) | = v5.7.3 | No fix listed |
| Shopware(Packagist) | = v5.7.4 | No fix listed |
| Shopware(Packagist) | = v5.7.5 | No fix listed |
| Shopware(Packagist) | = v5.7.6 | No fix listed |
| Shopware(Packagist) | = v5.7.7 | No fix listed |
| Shopware(Packagist) | = v5.7.8 | No fix listed |
| Shopware(Packagist) | = v5.7.9 | No fix listed |
| shopware/production(Packagist) | <= 6.3.5.2 | No fix listed |
| Shopware(Packagist) | <= 6.3.5.2 | No fix listed |
References
- github.com vendor-advisory
- github.com vendor-advisory
- github.com product
- github.com