Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 79b2f2a

Browse files
committed
Prepare v1.4.12 release
1 parent aea8ec1 commit 79b2f2a

2 files changed

Lines changed: 27 additions & 2 deletions

File tree

CHANGELOG-1.4.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,30 @@
11
# CHANGELOG FOR `1.4.X`
22

3+
## v1.4.12 (2020-01-27)
4+
5+
#### CVE-2020-5218: Ability to switch channels via GET parameter enabled in production environments
6+
7+
*Please refer to [the original security advisory](https://github.com/Sylius/Sylius/security/advisories/GHSA-prg5-hg25-8grq) for the most updated information.*
8+
9+
**Impact:**
10+
11+
This vulnerability gives 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.
12+
13+
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.
14+
15+
**Patches:**
16+
17+
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.
18+
19+
**Workarounds:**
20+
21+
Unsupported versions could be patched by adding the following configuration to run in production:
22+
23+
```yaml
24+
sylius_channel:
25+
debug: false
26+
```
27+
328
## v1.4.10, v1.4.11 (2019-12-03, 2019-12-05)
429
530
#### CVE-2019-16768: Internal exception message exposure in login action.

src/Sylius/Bundle/CoreBundle/Application/Kernel.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
class Kernel extends HttpKernel
3333
{
34-
public const VERSION = '1.4.12-DEV';
34+
public const VERSION = '1.4.12';
3535

3636
public const VERSION_ID = '10412';
3737

@@ -41,7 +41,7 @@ class Kernel extends HttpKernel
4141

4242
public const RELEASE_VERSION = '12';
4343

44-
public const EXTRA_VERSION = 'DEV';
44+
public const EXTRA_VERSION = '';
4545

4646
public function __construct(string $environment, bool $debug)
4747
{

0 commit comments

Comments
 (0)