Security context

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

magento/zf1
master @ 2381396
11
Fixes
0
CVEs
CRITICAL
Peak severity
0.0%
Coverage
Highlights
SQL Injection: 3 prior fixes. Scrutinize any change in this area.
Zend_Db_Select: most-fixed (2 issues). Treat as high-risk during review.
9 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.

Remote Code Execution: The Sendmail mail transport was vulnerable to remote code execution due to unescaped quotes in headers and raw command parameter injection into the underlying shell executor. Attackers could manipulate arguments passed directly to the PHP mail() function to execute arbitrary code.
SQL Injection: Insufficient sanitization of ORDER BY and GROUP BY expressions allowed attackers to execute arbitrary SQL commands. Early implementations could be bypassed using SQL comments or nested function expressions that evaded regex patterns.
SQL Injection: Database adapters failed to properly handle null bytes before quoting values. This oversight enabled SQL injection attacks when targeting specific databases such as MSSQL by prematurely terminating strings.