Guidance on securing your store and rotating encryption keys: CVE-2024-34102

August 20, 2024

NOTE
Please ensure you’ve taken the steps outlined in Security update available for Adobe Commerce - APSB24-40.
NOTE
If you have trouble rotating your encryption key, please follow the steps outlined in Troubleshooting Encryption Key Rotation: CVE-2024-34102.

More details on updating the encryption key

  • When the encryption key is updated per the guidance here, a new key is generated and added to a list of keys. That updated key becomes the primary key used for reading and writing sensitive data. If the application tries to read previously encrypted data, it knows which key was used to encrypt it and uses that key instead for decryption. If a sensitive value is edited (such as changing a payment gateway credential), the value is saved using the newest encryption key. The newest encryption key is also used to create authentication tokens, which are used to perform automations on behalf of a system-privileged user.

  • Encryption is a general-purpose tool which is why the encryption key system is designed to balance flexibility, resiliency, security, and performance. Among other things, it allows keys to be updated without necessarily re-encrypting previously encrypted data.

  • Although your data is secured against future similar attacks by applying the latest security patch and key rotation, Adobe is also working on a re-encryption method to provide additional defense-in-depth measures, which we aim to make available in the next few months.

Security updates

Related security updates available for Adobe Commerce:

recommendation-more-help
8bd06ef0-b3d5-4137-b74e-d7b00485808a