Skip to content
OpenAdvisories
Medium · 4.4 CVE-2020-5218 CVE-2020-5220EUVD-2020-0273GHSA-8vp7-j5cj-vvm2GHSA-prg5-hg25-8grq

Ability in Sylius to switch channels via GET parameter enabled in production environments

Published Jan 27, 2020 · Updated Aug 4, 2024 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
Sylius Sylius < 1.3.13, >= 1.4.0, < 1.4.6, >= 1.5.0, < 1.5.1, >= 1.6.0, < 1.6.3 —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist sylius/resource-bundle >= 1.4.0, < 1.4.6 1.4.6 GHSA-8vp7-j5cj-vvm2
Packagist sylius/resource-bundle >= 1.5.0, < 1.5.1 1.5.1 GHSA-8vp7-j5cj-vvm2
Packagist sylius/resource-bundle >= 1.6.0, < 1.6.3 1.6.3 GHSA-8vp7-j5cj-vvm2
Packagist sylius/resource-bundle >= 1.0.0, < 1.3.13 1.3.13 GHSA-8vp7-j5cj-vvm2
Packagist sylius/sylius < 1.3.12 1.3.12 GHSA-8vp7-j5cj-vvm2
Packagist sylius/sylius >= 1.4.0, < 1.4.4 1.4.4 GHSA-8vp7-j5cj-vvm2
Packagist sylius/sylius < 1.3.16 1.3.16 GHSA-prg5-hg25-8grq
Packagist sylius/sylius >= 1.4.0, < 1.4.12 1.4.12 GHSA-prg5-hg25-8grq
Packagist sylius/sylius >= 1.5, < 1.5.9 1.5.9 GHSA-prg5-hg25-8grq
Packagist sylius/sylius >= 1.6.0, < 1.6.5 1.6.5 GHSA-prg5-hg25-8grq

References