SQL Injection Vulnerability in Doctrine DBAL 3.x before 3.1.4

SQL Injection Vulnerability in Doctrine DBAL 3.x before 3.1.4

CVE-2021-43608 · CRITICAL Severity

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Doctrine DBAL 3.x before 3.1.4 allows SQL Injection. The escaping of offset and length inputs to the generation of a LIMIT clause was not probably cast to an integer, allowing SQL injection to take place if application developers passed unescaped user input to the DBAL QueryBuilder or any other API that ultimately uses the AbstractPlatform::modifyLimitQuery API.

Learn more about our Cis Benchmark Audit For Microsoft Sql Server.