aboutsummaryrefslogtreecommitdiffstats
path: root/src/scripts/vnet/mpls-o-ethernet
diff options
context:
space:
mode:
authorBenoît Ganne <bganne@cisco.com>2022-01-18 15:56:41 +0100
committerDave Wallace <dwallacelf@gmail.com>2023-02-03 21:04:39 -0500
commitbf73623ecc24af3dd0637c8cb5e204b1edebed22 (patch)
tree16f9947ace817a501c67f96c6ca02598681fc75d /src/scripts/vnet/mpls-o-ethernet
parent73fdb095b36ce6b780cf6d1a6c20effe2e9a684a (diff)
ipsec: fix AES CBC IV generation (CVE-2022-46397)stable/2202
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/scripts/vnet/mpls-o-ethernet')
0 files changed, 0 insertions, 0 deletions