SQL Injection in Doctrine-Project Database Abstraction Layer
CVE-2021-43608
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.
Vulnerability class: SQL Injection
EPSS: 0.024 (82.1th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Doctrine-project Database_abstraction_layer
- N/a — versions n/a
Weakness classification (CWE)
References
- cve@mitre.org (Patch, Third Party Advisory, x_refsource_MISC)
- cve@mitre.org (x_refsource_MISC, Vendor Advisory)
- cve@mitre.org (Third Party Advisory, x_refsource_MISC, Release Notes)
- cve@mitre.org (x_refsource_CONFIRM, Third Party Advisory)
Frequently asked questions
- What is CVE-2021-43608?
- CVE-2021-43608 is a critical-severity vulnerability in Doctrine-Project Database Abstraction Layer, classified under SQL Injection. CVSS score: 9.8/10. Published 2021-12-09.
- How severe is CVE-2021-43608?
- Critical severity. CVSS v3 base score is 9.8 out of 10.