CVE-2021-43608: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in Server
CVE-2021-43608 affects 44 listed versions of Nextcloud in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
Nextcloud
44 of 250 listed versions are affected. Fixed in 21.0.7. The newest release, 35.0.3, is not affected.
21.0.6 21.0.5 21.0.4 20.0.14.16 20.0.14.15 20.0.14.14 20.0.14.12 20.0.14.6 20.0.14.4 20.0.14 20.0.13 20.0.12 20.0.11 20.0.10 20.0.9 20.0.8 20.0.7 20.0.6 19.0.13.10 19.0.13.9 19.0.13.7 19.0.13 19.0.12 19.0.11 19.0.10 19.0.9 19.0.8 19.0.7 19.0.6 19.0.5 19.0.4 19.0.3 19.0.2 18.0.14 18.0.13 18.0.12 18.0.11 18.0.10 18.0.9 18.0.8 18.0.7 18.0.6 18.0.5 18.0.4
What it is
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:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD)
Published by MITRE on 9 December 2021. Last changed 17 June 2026.
Sources
Check one version you run: look CVE-2021-43608 up, or pick a product and version in the quick lookup.
Updated 1 December 2026.