CVE-2021-43608
CVE-2021-43608
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 9.8 · Critical · EPSS 2.4% · Fix available
- Published
- Updated
Affected products and versions
n/a
- Versions
- n/a: Affected
No fix published
doctrine/dbal Packagist
- Versions
- 3.0.0
- 3.1.0
- 3.1.1
- 3.1.2
- 3.1.3
- Affected ranges
- ECOSYSTEM: ≥ 3.0.0, < 3.1.4
Update to 3.1.4
php-doctrine-dbal Ubuntu:16.04:LTS
- Versions
- 2.4.4-2
- 2.4.5-1
- 2.4.5-1ubuntu1
- 2.4.5-2
- 2.4.5-2build1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- https://github.com/doctrine/dbal/commit/9dcfa4cb6c03250b78a84737ba7ceb82f4b7ba4d
- https://www.doctrine-project.org/2021/11/11/dbal3-vulnerability-fixed.html
- https://github.com/doctrine/dbal/releases
- https://github.com/doctrine/dbal/security/advisories/GHSA-r7cj-8hjg-x622
- https://nvd.nist.gov/vuln/detail/CVE-2021-43608