CVE-2021-43608 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/doctrine/dbal/commit/9dcfa4cb6c03250b78a84737ba7ceb82f4b7ba4d | CVE | PatchThird Party Advisory |
| https://github.com/doctrine/dbal/releases | CVE | Release NotesThird Party Advisory |
| https://github.com/doctrine/dbal/security/advisories/GHSA-r7cj-8hjg-x622 | CVE | Third Party Advisory |
| https://www.doctrine-project.org/2021/11/11/dbal3-vulnerability-fixed.html | CVE | Vendor Advisory |
| https://github.com/doctrine/dbal/commit/9dcfa4cb6c03250b78a84737ba7ceb82f4b7ba4d | [email protected] | PatchThird Party Advisory |
| https://github.com/doctrine/dbal/releases | [email protected] | Release NotesThird Party Advisory |
| https://github.com/doctrine/dbal/security/advisories/GHSA-r7cj-8hjg-x622 | [email protected] | Third Party Advisory |
| https://www.doctrine-project.org/2021/11/11/dbal3-vulnerability-fixed.html | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| doctrine-project database abstraction layer | >= 3.0.0, < 3.1.4 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Dec 15, 2021 | Initial Analysis | [email protected] |