原始 OSV JSON{
"id": "GHSA-3pcr-4982-548m",
"aliases": [],
"details": "### Impact\n\nThe .env and other sensitive files can be leaked if the project root and not `/public` is configured as the web root.\n\n### Patches\nWe 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.\n\nhttps://www.shopware.com/en/download/#shopware-6\n\n### Workarounds\n\nYou should always use `/public` as the web root.\n\nFor 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.\n\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-04-2021",
"summary": "Exposure of .env if project root is configured as web root in shopware/production",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "6.3.5.3"
}
]
}
],
"package": {
"name": "shopware/production",
"ecosystem": "Packagist"
},
"database_specific": {
"last_known_affected_version_range": "<= 6.3.5.2"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "6.3.5.3"
}
]
}
],
"package": {
"name": "shopware/shopware",
"ecosystem": "Packagist"
},
"database_specific": {
"last_known_affected_version_range": "<= 6.3.5.2"
}
}
],
"modified": "2026-06-08T23:14:50Z",
"severity": [],
"published": "2021-04-13T15:13:37Z",
"references": [
{
"url": "https://github.com/shopware/platform/security/advisories/GHSA-3pcr-4982-548m",
"type": "WEB"
},
{
"url": "https://github.com/shopware/shopware/security/advisories/GHSA-3pcr-4982-548m",
"type": "WEB"
},
{
"url": "https://github.com/shopware/shopware",
"type": "PACKAGE"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-552"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": null,
"github_reviewed_at": "2021-04-12T22:33:05Z"
}
}