diff options
author | Benoît Ganne <bganne@cisco.com> | 2022-01-18 15:56:41 +0100 |
---|---|---|
committer | Benoît Ganne <bganne@cisco.com> | 2023-02-06 17:03:39 +0100 |
commit | 752f6fe1b06e96f2c28bf846aadc79d8cdb0bdb1 (patch) | |
tree | 6cbfd63112e6e002ddd884cc4cf53a6a546cb1e0 /build-root/deb | |
parent | 3e0dafb74636671624a4168ea55c189c9e37929c (diff) |
ipsec: fix AES CBC IV generation (CVE-2022-46397)stable/2001
For AES-CBC, the IV must be unpredictable (see NIST SP800-38a Appendix
C). Chaining IVs like is done by ipsecmb and native backends for the
VNET_CRYPTO_OP_FLAG_INIT_IV is fully predictable.
Encrypt a counter as part of the message, making the (predictable)
counter-generated IV unpredictable.
Fixes: VPP-2037
Type: fix
Change-Id: If4f192d62bf97dda553e7573331c75efa11822ae
Signed-off-by: Benoît Ganne <bganne@cisco.com>
Diffstat (limited to 'build-root/deb')
0 files changed, 0 insertions, 0 deletions