Skip to content

Commit be31084

Browse files
MAGECLOUD-12969: security fix patch
1 parent 2630ec4 commit be31084

4 files changed

+4
-8
lines changed

patches/MCLOUD-12969__Patch_for_CVE_2024_34102_CosmicSting__2.4.4.patch

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,4 @@ diff --git a/vendor/magento/module-jwt-user-token/Model/SecretBasedJwksFactory.p
5959
+ $this->keys = [end($this->keys)];
6060
//Making sure keys are large enough.
6161
foreach ($this->keys as &$key) {
62-
$key = str_pad($key, 2048, '&', STR_PAD_BOTH);
63-
62+
$key = str_pad($key, 2048, '&', STR_PAD_BOTH);

patches/MCLOUD-12969__Patch_for_CVE_2024_34102_CosmicSting__2.4.5.patch

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,4 @@ diff --git a/vendor/magento/module-jwt-user-token/Model/SecretBasedJwksFactory.p
5959
+ $this->keys = [end($this->keys)];
6060
//Making sure keys are large enough.
6161
foreach ($this->keys as &$key) {
62-
$key = str_pad($key, 2048, '&', STR_PAD_BOTH);
63-
62+
$key = str_pad($key, 2048, '&', STR_PAD_BOTH);

patches/MCLOUD-12969__Patch_for_CVE_2024_34102_CosmicSting__2.4.6.patch

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,4 @@ diff --git a/vendor/magento/module-jwt-user-token/Model/SecretBasedJwksFactory.p
4343
+ $this->keys = [end($this->keys)];
4444
//Making sure keys are large enough.
4545
foreach ($this->keys as &$key) {
46-
$key = str_pad($key, 2048, '&', STR_PAD_BOTH);
47-
46+
$key = str_pad($key, 2048, '&', STR_PAD_BOTH);

patches/MCLOUD-12969__Patch_for_CVE_2024_34102_CosmicSting__2.4.7.patch

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,4 @@ diff --git a/vendor/magento/module-jwt-user-token/Model/SecretBasedJwksFactory.p
5252
+ $this->keys = [end($this->keys)];
5353
//Making sure keys are large enough.
5454
foreach ($this->keys as &$key) {
55-
$key = str_pad($key, 2048, '&', STR_PAD_BOTH);
56-
55+
$key = str_pad($key, 2048, '&', STR_PAD_BOTH);

0 commit comments

Comments
 (0)