7.5high
SQL Injection in FileContentProvider (GHSL-2021-1007)
- Severity
- 7.5high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 1.94% (higher than 80% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- BIT-NEXTCLOUD-2021-43863GHSA-vjp2-f63v-w479
Description
The Nextcloud Android app is the Android client for Nextcloud, a self-hosted productivity platform. The Nextcloud Android app uses content providers to manage its data. Prior to version 3.18.1, the providers `FileContentProvider` and `DiskLruImageCacheFileProvider` have security issues (an SQL injection, and an insufficient permission control, respectively) that allow malicious apps in the same device to access Nextcloud's data bypassing the permission control system. Users should upgrade to version 3.18.1 to receive a patch. There are no known workarounds aside from upgrading.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| nextcloud android | < 3.18.1 | CVE List |
| nextcloud nextcloud | before 3.18.1 | NVD |
| nextcloud (Bitnami) | before 3.18.1 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
| Bitnami Vulnerability Database | high rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
The Nextcloud Android app is the Android client for Nextcloud, a self-hosted productivity platform. The Nextcloud Android app uses content providers to manage its data. Prior to version 3.18.1, the providers `FileContentProvider` and `DiskLruImageCacheFileProvider` have security issues (an SQL injection, and an insufficient permission control, respectively) that allow malicious apps in the same device to access Nextcloud's data bypassing the permission control system. Users should upgrade to version 3.18.1 to receive a patch. There are no known workarounds aside from upgrading.
NVD (es)
La aplicación Android de Nextcloud es el cliente Android para Nextcloud, una plataforma de productividad autoalojada. La aplicación Android de Nextcloud usa proveedores de contenido para administrar sus datos. En versiones anteriores a 3.18.1, los proveedores "FileContentProvider" y "DiskLruImageCacheFileProvider" presentan problemas de seguridad (una inyección SQL y un control de permisos insuficiente, respectivamente) que permiten a las aplicaciones maliciosas del mismo dispositivo acceder a los datos de Nextcloud omitiendo el sistema de control de permisos. Los usuarios deben actualizar a versión 3.18.1 para recibir un parche. No se presentan medidas de mitigación conocidas aparte de la actualización
References
| https://github.com/nextcloud/android/security/advisories/GHSA-vjp2-f63v-w479 | advisory, third-party-advisory | |
| https://github.com/nextcloud/android/commit/627caba60e69e223b0fc89c4cb18eaa76a95db95 | advisory, patch, third-party-advisory | |
| https://hackerone.com/reports/1358597 | permissions-required, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-43863 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-43863 changed 2025-04-23 | CVE Terms of Use |
| NVD | CVE-2021-43863 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-NEXTCLOUD-2021-43863 changed 2026-09-08 | Apache-2.0 |