[openssl/openssl] e6c141: cleanse stack variable in kdf_pbkdf1_do_derive

Neil Horman noreply at github.com
Fri Jan 5 19:43:00 UTC 2024


  Branch: refs/heads/openssl-3.2
  Home:   https://github.com/openssl/openssl
  Commit: e6c14133c11ab37f0653e0ffeece50baa7ed3161
      https://github.com/openssl/openssl/commit/e6c14133c11ab37f0653e0ffeece50baa7ed3161
  Author: Neil Horman <nhorman at openssl.org>
  Date:   2024-01-05 (Fri, 05 Jan 2024)

  Changed paths:
    M providers/implementations/kdfs/pbkdf1.c

  Log Message:
  -----------
  cleanse stack variable in kdf_pbkdf1_do_derive

kdf_pbkdf1_do_derive stores key derivation information in a stack
variable, which is left uncleansed prior to returning.  Ensure that the
stack information is zeroed prior to return to avoid potential leaks of
key information

Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Matt Caswell <matt at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23194)

(cherry picked from commit 5963aa8c196d7c5a940a979299a07418527932af)




More information about the openssl-commits mailing list