diff options
author | Benoît Ganne <bganne@cisco.com> | 2022-01-18 15:56:41 +0100 |
---|---|---|
committer | Dave Wallace <dwallacelf@gmail.com> | 2023-02-03 21:05:21 -0500 |
commit | 08ff7a9857212f091a07228f666a2376e26a5eff (patch) | |
tree | f505c6a8a84de32d78b3ab25348a4b9e9a89b37e /extras/rpm/Makefile | |
parent | 0a485f517d2b6d1c328eda23b707cb8d9c544beb (diff) |
ipsec: fix AES CBC IV generation (CVE-2022-46397)stable/2110
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 'extras/rpm/Makefile')
0 files changed, 0 insertions, 0 deletions