Name | CVE-2021-43608 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
php-doctrine-dbal (PTS) | bullseye | 2.12.1-2 | fixed |
| bookworm | 3.6.1+dfsg-1 | fixed |
| sid, trixie | 3.9.3+dfsg-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
php-doctrine-dbal | source | (unstable) | (not affected) | | | |
Notes
- php-doctrine-dbal <not-affected> (Vulnerable code introduced in 3.0.0)
Bug was introduced in 3.0.0, and fixed in experimental in 3.1.4+dfsg-1 and
only present in experimental suite.
https://github.com/doctrine/dbal/security/advisories/GHSA-r7cj-8hjg-x622