CVEvulnerability
CVE-2021-43608
9.8 CRITICAL
Official page ↗
- Status
- Modified
- Published
- 2021-12-09
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 7.5 HIGH — AV:N/AC:L/Au:N/C:P/I:P/A:P
- Weaknesses
- CWE-89
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 configurations
• doctrine-project database abstraction layer (>= 3.0.0 < 3.1.4)
Related
Weakness · CWE (1)
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command weakness
References
- https://github.com/doctrine/dbal/commit/9dcfa4cb6c03250b78a84737ba7ceb82f4b7ba4d Patch, Third Party Advisory
- https://github.com/doctrine/dbal/releases Release Notes, Third Party Advisory
- https://github.com/doctrine/dbal/security/advisories/GHSA-r7cj-8hjg-x622 Third Party Advisory
- https://www.doctrine-project.org/2021/11/11/dbal3-vulnerability-fixed.html Vendor Advisory
- https://github.com/doctrine/dbal/commit/9dcfa4cb6c03250b78a84737ba7ceb82f4b7ba4d Patch, Third Party Advisory
- https://github.com/doctrine/dbal/releases Release Notes, Third Party Advisory
- https://github.com/doctrine/dbal/security/advisories/GHSA-r7cj-8hjg-x622 Third Party Advisory
- https://www.doctrine-project.org/2021/11/11/dbal3-vulnerability-fixed.html Vendor Advisory