← Database

CVE-2021-43608

CRITICAL CVSS: 9.8 Published: 2021-12-09 Modified: 2026-06-17

Description

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.

Affected Platforms

Doctrine-Project Database Abstraction Layer

Weakness Type

CWE-89

References