ADVISORIES

Vulnerability

CVE-2021-43608

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.

2 advisories report this vulnerability, across 2 ecosystems.

Critical severity All Packagist 1Ubuntu 1

Advisories

  • GHSA-r7cj-8hjg-x622

    DBAL 3 SQL Injection Security Vulnerability

    Critical CVE-2021-43608 Packagist Updated 8 July 2026
  • UBUNTU-CVE-2021-43608

    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…

    CVE-2021-43608 Ubuntu Updated 24 October 2025

References