All news

Security enhancements in Magento Open Source 2.4.7

Magento Open Source version 2.4.7 introduces support for PHP 8.3 and includes hundreds of quality improvements, custom attributes in GraphQL, and compatibility with FedEx and UPS services.

Magento update 2.4.7
Magento update 2.4.7

Security Improvements

This release contains the same security fixes and platform improvements as Adobe Commerce 2.4.6-p5, 2.4.5-p7, and 2.4.4-p8. While there have been no confirmed attacks to date, certain vulnerabilities can potentially be exploited to gain access to customer information or hijack administrator sessions. Most of these issues require an attacker to first gain access to the Admin. Therefore, it is essential to protect your admin environment by measures including:

  • IP whitelisting

  • Two-factor authentication

  • Use of a VPN

  • Use of a unique location instead of /admin

  • Good password hygiene

Additional Security Improvements
  • Changes to cache keys: Non-generated cache keys for blocks now contain prefixes that differ from automatically generated keys. These keys may now only contain letters, numbers, hyphens (-), and underscores (_).

  • Limitation on automatically generated coupon codes: There is now a limit of 250,000 on the number of automatically generated coupon codes. Merchants can adjust this limit via the new configuration option ‘Code Quantity Limit’ (Stores > Settings:Configuration > Customers > Promotions).

  • Optimization of default Admin URL generation: Generation of the default Admin URL has been optimized for increased randomness, making it less predictable.

  • New configuration setting for full page cache: A new setting helps mitigate risks associated with the {BASE-URL}/page_cache/block/esi endpoint. The default value is 100, but merchants can adjust this via the Admin (Stores > Settings:Configuration > System > Full Page Cache > Handles params size).

  • Support for Subresource Integrity (SRI): To comply with PCI 4.0 requirements, SRI support has been added for all JavaScript files on payment pages. Merchants can extend this configuration to other pages.

  • Changes to Content Security Policy (CSP): Updates and improvements have been made to CSPs to meet PCI 4.0 requirements. The default CSP configuration for payment pages is now ‘restrict mode’. For all other pages, the default configuration is ‘report-only mode’.

  • Rate limiting for payment information via REST and GraphQL APIs: Merchants can now configure rate limiting for payment information sent via REST and GraphQL, helping to prevent ‘carding’ attacks.

  • Change in behavior of the isEmailAvailable API: By default, this API now always returns ‘true’. Merchants can enable the original behavior by setting the ‘Enable Guest Checkout Login’ option in the Admin to ‘Yes’, but this may expose customer information to unauthenticated users.


Platform Improvements
  • Compatibility with PHP 8.3: This release introduces support for PHP 8.3. Magento Open Source now supports both PHP 8.3 and 8.2. PHP 8.2 will be supported until December 2025. Migration to PHP 8.3 is recommended after this date.

  • Support for RabbitMQ 3.13: This release is compatible with RabbitMQ 3.13. Although compatibility with RabbitMQ 3.11 and 3.12 is maintained, the use of version 3.13 is recommended.

  • Compatibility with Composer 2.7.x: Compatibility with Composer 2.2.x is maintained.

  • Support for Varnish Cache 7.4: This release is compatible with Varnish Cache 7.4. Although compatibility with versions 6.0.x and 7.2.x is maintained, the use of version 7.4 or version 6.0 LTS is recommended.

  • Compatibility with Elasticsearch 8.11 and OpenSearch 2.12 and 1.3: This release supports these versions.

  • Support for Redis 7.2: This release is compatible with Redis 7.2.

  • Replacement of extjs by jsTree: The extjs library has been replaced with the latest version of jsTree.

  • Removal of jquery/fileUpload library: This library has been removed.

  • Updates to JavaScript libraries and NPM dependencies: All JavaScript libraries and NPM dependencies in the Magento Open Source core code have been updated to the latest available versions.

  • Updates to Laminas library dependencies: All Laminas library dependencies have been updated to the latest versions compatible with PHP 8.3.

View all release notes on magento.com

Written by

Mike

Mike

on

Check out our archive of digital awesomeness

Our archive of digital awesomeness

More news.