SQL Injection in Doctrine-Project Database Abstraction Layer
CVE-2021-43608
- CVSS v3
- 9.8 Critical
- Public exploits
- None known
- EPSS
- 0.024 · 84.6th percentile
- Published
- 2021-12-09
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
Published · last modified .
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.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.024, 84.6th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- github.com/doctrine/dbal/commit/9dcfa4cb6c03250b78a84737ba7ceb82f4b7ba4d (Patch, Third Party Advisory)
- www.doctrine-project.org/2021/11/11/dbal3-vulnerability-fixed.html (Vendor Advisory)
- github.com/doctrine/dbal/releases (Third Party Advisory, Release Notes)
- github.com/doctrine/dbal/security/advisories/GHSA-r7cj-8hjg-x622 (Third Party Advisory)