Open vSwitch (aka openvswitch) 2.11.0 through 2.15.0 has a use-after-free in decode_NXAST_RAW_ENCAP (called from ofpact_decode and ofpacts_decode) during the decoding of a RAW_ENCAP action.
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
Link | Tags |
---|---|
https://github.com/google/oss-fuzz-vulns/blob/main/vulns/openvswitch/OSV-2020-2197.yaml | third party advisory |
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=27851 | third party advisory patch |
https://github.com/openvswitch/ovs/commit/77cccc74deede443e8b9102299efc869a52b65b2 | third party advisory patch |
https://github.com/openvswitch/ovs/commit/38744b1bcb022c611712527f039722115300f58f | third party advisory patch |
https://github.com/openvswitch/ovs/commit/65c61b0c23a0d474696d7b1cea522a5016a8aeb3 | third party advisory patch |
https://github.com/openvswitch/ovs/commit/6d67310f4d2524b466b98f05ebccc1add1e8cf35 | third party advisory patch |
https://github.com/openvswitch/ovs/commit/8ce8dc34b5f73b30ce0c1869af9947013c3c6575 | third party advisory patch |
https://github.com/openvswitch/ovs/commit/9926637a80d0d243dbf9c49761046895e9d1a8e2 | third party advisory patch |
https://security.gentoo.org/glsa/202311-16 | vendor advisory |