CVE-2021-43608
Last modified
CVE-2021-43608 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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.. EPSS estimates a 2.37% chance of exploitation in the next 30 days.
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:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Doctrine-Project | Database Abstraction Layer | >= 3.0.0, < 3.1.4 |
References
- https://github.com/doctrine/dbal/commit/9dcfa4cb6c03250b78a84737ba7ceb82f4b7ba4dPatch, Third Party Advisory
- https://github.com/doctrine/dbal/releasesRelease Notes, Third Party Advisory
- https://github.com/doctrine/dbal/security/advisories/GHSA-r7cj-8hjg-x622Third Party Advisory
- https://github.com/doctrine/dbal/commit/9dcfa4cb6c03250b78a84737ba7ceb82f4b7ba4dPatch, Third Party Advisory
- https://github.com/doctrine/dbal/releasesRelease Notes, Third Party Advisory
- https://github.com/doctrine/dbal/security/advisories/GHSA-r7cj-8hjg-x622Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-43608?
How severe is CVE-2021-43608?
How do I fix CVE-2021-43608?
Are you affected by CVE-2021-43608?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
