Highlights
Command Injection: 2 prior fixes. Scrutinize any change in this area.
lib/dalli/protocol/meta/request_formatter.rb: most-fixed (2 issues). Treat as high-risk during review.
2 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.
Command Injection: Injections via protocol arguments (like CAS or TTL) allow remote attackers to inject raw memcached protocol commands. This bypasses client-side restrictions and can result in arbitrary cache manipulation or data corruption.
Auth Bypass: Using simple set operations instead of state-aware replacement can permit session fixation or the restoration of invalidated session data, allowing unauthorized session reuse.
Command Injection: Unvalidated sub-arguments to commands such as 'stats' pose a risk of raw protocol command injection if inputs containing command boundaries are passed down to formatting routines.