CVE-2021-43863
JSON

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 packageVersionsReported by
nextcloud android< 3.18.1CVE List
nextcloud nextcloudbefore 3.18.1NVD
nextcloud (Bitnami)before 3.18.1Bitnami Vulnerability Database

All scores

GitHub_M7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD5.0medium CVSS:2.0AV:N/AC:L/Au:N/C:P/I:N/A:N
Bitnami Vulnerability Databasehigh rating

Classification

CWE-89

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

Sources

SourceRecordLicence
CVE ListCVE-2021-43863 changed 2025-04-23CVE Terms of Use
NVDCVE-2021-43863 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-NEXTCLOUD-2021-43863 changed 2026-09-08Apache-2.0