Skip to content

Commit faba20b

Browse files
MAGECLOUD-12969: security fix patch
1 parent e4721b7 commit faba20b

3 files changed

+3
-3
lines changed

patches/MCLOUD-12969__Patch_for_CVE_2024_34102_CosmicSting__2.4.5.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,4 +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);
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 & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +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);
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 & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,4 +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);
55+
$key = str_pad($key, 2048, '&', STR_PAD_BOTH);

0 commit comments

Comments
 (0)