SQL Injection in FileContentProvider (GHSL-2021-1007)
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- SQL injection
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-89.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA android (nextcloud) Fixed in 3.18.1
Timeline
- 2026-10-02 Threatist record created from CVE-2021-43863
References
More Nextcloud vulnerabilities
- TI-2022-11704 Sensitive files/data exist after deletion of user account in Nextcloud Android CVSS 3.1LOW 3.3
- TI-2022-08695 Improper Authentication in Nextcloud Android Files CVSS 3.1LOW 2.4
- TI-2019-03862 SQL injection in com.nextcloud.client CVSS 3.1CRITICAL 9.8
- TI-2023-13460 Nextcloud: Lack of authenticity of metadata keys allows a malicious server to gain access to E2EE folders CVSS 3.1MEDIUM 6.9
- TI-2021-12395 End-to-end encryption device setup did not verify public key CVSS 3.1HIGH 7.5
- TI-2021-05773 Information disclosure in Nextcloud iOS app CVSS 3.1MEDIUM 6.5
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences