CVE-2020-5218
MEDIUM 4.3CVSS 3.1Ability to expose data in Sylius by using an unintended serialisation group
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.
- Published
- 27 Jan 2020
- Last modified
- 8 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-200CWE-444
- Also known as
- CVE-2020-5220GHSA-8vp7-j5cj-vvm2GHSA-prg5-hg25-8grq
- Sources
- NVDJSONOSV GHSA-8vp7-j5cj-vvm2JSONOSV GHSA-prg5-hg25-8grqJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 4.4 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.4 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.0 | AV:N/AC:L/Au:S/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | sylius | syliuscpe:2.3:a:sylius:sylius:*:*:*:*:*:*:*:* |
>= 1.3.0, < 1.3.13 | 1.3.13 |
| NVD | sylius | syliuscpe:2.3:a:sylius:sylius:*:*:*:*:*:*:*:* |
>= 1.4.0, < 1.4.6 | 1.4.6 |
| NVD | sylius | syliuscpe:2.3:a:sylius:sylius:*:*:*:*:*:*:*:* |
>= 1.6.0, < 1.6.3 | 1.6.3 |
| NVD | sylius | syliuscpe:2.3:a:sylius:sylius:1.5.0:-:*:*:*:*:*:* |
= 1.5.0 | |
| OSV | Packagist | sylius/resource-bundle | >= 1.4.0, < 1.4.6 | 1.4.6 |
| OSV | Packagist | sylius/resource-bundle | >= 1.5.0, < 1.5.1 | 1.5.1 |
| OSV | Packagist | sylius/resource-bundle | >= 1.6.0, < 1.6.3 | 1.6.3 |
| OSV | Packagist | sylius/sylius | < 1.3.12 | 1.3.12 |
| OSV | Packagist | sylius/sylius | >= 1.4.0, < 1.4.4 | 1.4.4 |
| OSV | Packagist | sylius/resource-bundle | >= 1.0.0, < 1.3.13 | 1.3.13 |
| OSV | Packagist | sylius/sylius | < 1.3.16 | 1.3.16 |
| OSV | Packagist | sylius/sylius | >= 1.4.0, < 1.4.12 | 1.4.12 |
| OSV | Packagist | sylius/sylius | >= 1.5, < 1.5.9 | 1.5.9 |
| OSV | Packagist | sylius/sylius | >= 1.6.0, < 1.6.5 | 1.6.5 |
References
- https://github.com/FriendsOfPHP/security-advisories/blob/master/sylius/resource-bundle/CVE-2020-5220.yaml · Third Party Advisory, WEB
- https://github.com/Sylius/SyliusResourceBundle/security/advisories/GHSA-8vp7-j5cj-vvm2 · Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-5220 · ADVISORY
- https://github.com/FriendsOfPHP/security-advisories/blob/master/sylius/sylius/CVE-2020-5220.yaml · WEB
- https://github.com/Sylius/Sylius/security/advisories/GHSA-prg5-hg25-8grq · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-5218 · ADVISORY
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 27 Jan 2020)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 31 Jan 2020)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 31 Jan 2020)