aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/acl/test
diff options
context:
space:
mode:
authorBenoît Ganne <bganne@cisco.com>2022-01-18 15:56:41 +0100
committerBenoît Ganne <bganne@cisco.com>2023-02-07 17:21:43 +0100
commitb6e090c49368bdd7692219a98aad1c997cb592d1 (patch)
tree62b43de92c2506f35292106a5635b2c937835024 /src/plugins/acl/test
parent4f7b92f0a0f37ea2875631d7f25d44834abe7af7 (diff)
ipsec: fix AES CBC IV generation (CVE-2022-46397)stable/2009
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 'src/plugins/acl/test')
0 files changed, 0 insertions, 0 deletions