Description
Multiple SQL injection vulnerabilities in the Doctrine\DBAL\Platforms\AbstractPlatform::modifyLimitQuery function in Doctrine 1.x before 1.2.4 and 2.x before 2.0.3 allow remote attackers to execute arbitrary SQL commands via the (1) limit or (2) offset field.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | doctrine | 1.2.4-1 | — |
| Debian 13 | doctrine | 1.2.4-1 | — |
| Debian 12 | doctrine | 1.2.4-1 | — |
| Debian 6.0 | doctrine | 1.2.2-2+squeeze1 | DSA-2223-1 |
Advisories 1
- DSA-2223-1 doctrine - SQL injection Debian Security (DSA / DLA) · Mar 9, 2026
References
- [oss-security] 20110328 Re: CVE Request -- php-doctrine-Doctrine -- SQL injection flaw mailing-list
- 47034 vdb-entry
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=622674
- DSA-2223 vendor-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=689396
- [oss-security] 20110325 CVE Request -- php-doctrine-Doctrine -- SQL injection flaw mailing-list
- http://www.doctrine-project.org/blog/doctrine-security-fix