Marten's LINQ provider has SQL injection via unescaped string literals
What to do
- Upgrade to a fixed version: Marten 8.37.4, Marten 9.13.0.
- Redeploy and restart long-running processes so they load the fixed code.
Affected packages
Marten
- >= 7.0.0, < 8.37.4
- 8.37.4
Check your project: dotnet list package --include-transitive | grep -i Marten
Marten
- >= 9.0.0, < 9.13.0
- 9.13.0
Check your project: dotnet list package --include-transitive | grep -i Marten