CVE catalog

CVE-2021-43608

php-doctrine-dbal: CVE-2021-43608

[CVE catalog]

Severity
Critical · CVSS 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
2.45% · Oct 27, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianphp-doctrine-dbalsid4.5.0+dfsg-1not affected
Debianphp-doctrine-dbalforky4.5.0+dfsg-1not affected
Debianphp-doctrine-dbaltrixie4.2.3+dfsg-4not affected
Debianphp-doctrine-dbalbookworm3.6.1+dfsg-1not affected
Ubuntuphp-doctrine-dbal16.042.4.4-2vulnerable
Ubuntuphp-doctrine-dbal16.042.4.5-1vulnerable
Ubuntuphp-doctrine-dbal16.042.4.5-1ubuntu1vulnerable
Ubuntuphp-doctrine-dbal16.042.4.5-2vulnerable
Ubuntuphp-doctrine-dbal16.042.4.5-2build1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianphp-doctrine-dbalsourcesidNot affectedunimportantNot reportedNot reported
Debianphp-doctrine-dbalsourceforkyNot affectedunimportantNot reportedNot reported
Debianphp-doctrine-dbalsourcetrixieNot affectedunimportantNot reportedNot reported
Debianphp-doctrine-dbalsourcebookwormNot affectedunimportantNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [php-doctrine-dbal]Not affected
    Details (2)
    • 3.6.1+dfsg-1 · all · bookworm

      Not affected

      dsa · php-doctrine-dbal · debian · bookworm

    • 3.6.1+dfsg-1 · all · bookworm

      Not affected

      dsa · php-doctrine-dbal · debian · bookworm

Observed:

References