Security context

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

mysql/mysql-connector-python
trunk @ cbac6da
3
Fixes
0
CVEs
HIGH
Peak severity
0.0%
Coverage
Highlights
Arbitrary File Read: 1 prior fix. Scrutinize any change in this area.
mysql-connector-python: most-fixed (1 issue). 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.

Arbitrary File Read: A rogue MySQL server can request arbitrary local files from the client during a LOCAL INFILE exchange if the client does not strictly canonicalize and verify the requested path against the original request.
Remote Code Execution: Parsing option and configuration files using dynamic evaluation functions like `eval` allows local or remote configuration files to execute arbitrary python code.
SQL Injection: Iterative string replacement for parameter interpolation in database queries can lead to SQL injection when handling complex dictionary-based query parameters.