CVE-2020-5218
Description
Affected versions of Sylius give attackers the ability to switch channels via the _channel_code GET parameter in production environments. This was meant to be enabled only when kernel.debug is set to true. However, if no sylius_channel.debug is set explicitly in the configuration, the default value which is kernel.debug will be not resolved and cast to boolean, enabling this debug feature even if that parameter is set to false. Patch has been provided for Sylius 1.3.x and newer - 1.3.16, 1.4.12, 1.5.9, 1.6.5. Versions older than 1.3 are not covered by our security support anymore.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
sylius/syliusPackagist | < 1.3.16 | 1.3.16 |
sylius/syliusPackagist | >= 1.4.0, < 1.4.12 | 1.4.12 |
sylius/syliusPackagist | >= 1.5, < 1.5.9 | 1.5.9 |
sylius/syliusPackagist | >= 1.6.0, < 1.6.5 | 1.6.5 |
Affected products
4Patches
Vulnerability mechanics
References
5- github.com/Sylius/SyliusResourceBundle/security/advisories/GHSA-8vp7-j5cj-vvm2nvdPatchThird Party AdvisoryWEB
- github.com/FriendsOfPHP/security-advisories/blob/master/sylius/resource-bundle/CVE-2020-5220.yamlnvdThird Party AdvisoryWEB
- github.com/advisories/GHSA-prg5-hg25-8grqghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2020-5218ghsaADVISORY
- github.com/Sylius/Sylius/security/advisories/GHSA-prg5-hg25-8grqghsaWEB
News mentions
0No linked articles in our index yet.