Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

tensorflow/serving
master @ e50f04d
7
Fixes
1
CVEs
HIGH
Peak severity
40.0%
Coverage
Highlights
Denial of Service: 5 prior fixes. Scrutinize any change in this area.
tensorflow_serving/servables/tensorflow/tflite_session.cc: most-fixed (3 issues). Treat as high-risk during review.
3 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Memory Corruption: Tensor dimension mismatches during model execution can lead to heap-based buffer overflows or memory corruption if execution proceeds with mismatched internal shapes, even if total elements are equal.
Denial of Service: Accessing temporary concatenated tensors whose lifetimes are not properly extended results in a use-after-free crash during inference execution.
Memory Corruption: Performing raw memory copies (std::memcpy) on non-trivial tensor types like string tensors bypasses structural safety constraints and causes memory corruption.