8.1high
Rate-limits not working on instances without configured memory cache backend
- Severity
- 8.1high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 1.55% (higher than 75% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
Description
Nextcloud is an open-source, self-hosted productivity platform. Prior to versions 20.0.13, 21.0.5, and 22.2.0, Nextcloud Server did not implement a database backend for rate-limiting purposes. Any component of Nextcloud using rate-limits (as as `AnonRateThrottle` or `UserRateThrottle`) was thus not rate limited on instances not having a memory cache backend configured. In the case of a default installation, this would notably include the rate-limits on the two factor codes. It is recommended that the Nextcloud Server be upgraded to 20.0.13, 21.0.5, or 22.2.0. As a workaround, enable a memory cache backend in `config.php`.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| nextcloud security-advisories | < 20.0.13, >= 21.0.0, < 21.0.5, < 22.2.0 | CVE List |
| nextcloud nextcloud_server | before 20.0.13, from 21.0.0 before 21.0.5, from 22.0.0 before 22.2.0 | NVD |
All scores
| GitHub_M | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
| NVD | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
| NVD | 5.5medium CVSS:2.0 | AV:N/AC:L/Au:S/C:P/I:N/A:P |
Classification
What each source says
CVE List
Nextcloud is an open-source, self-hosted productivity platform. Prior to versions 20.0.13, 21.0.5, and 22.2.0, Nextcloud Server did not implement a database backend for rate-limiting purposes. Any component of Nextcloud using rate-limits (as as `AnonRateThrottle` or `UserRateThrottle`) was thus not rate limited on instances not having a memory cache backend configured. In the case of a default installation, this would notably include the rate-limits on the two factor codes. It is recommended that the Nextcloud Server be upgraded to 20.0.13, 21.0.5, or 22.2.0. As a workaround, enable a memory cache backend in `config.php`.
NVD (es)
Nextcloud es una plataforma de productividad de código abierto y auto-alojada. En las versiones anteriores a 20.0.13, 21.0.5 y 22.2.0, Nextcloud Server no implementaba un backend de base de datos para fines de limitación de velocidad. Cualquier componente de Nextcloud que usara límites de velocidad (como "AnonRateThrottle" o "UserRateThrottle") no se limitaba por tanto en instancias que no tuvieran configurado un backend de caché de memoria. En el caso de una instalación por defecto, esto incluiría notablemente los límites de velocidad en los códigos de dos factores. Es recomendado actualizar el servidor Nextcloud a la versión 20.0.13, 21.0.5 o 22.2.0. Como solución, habilite un backend de caché de memoria en "config.php"
References
| https://github.com/nextcloud/security-advisories/security/advisories/GHSA-fj39-4qx4-m3f2 | third-party-advisory | |
| https://github.com/nextcloud/server/pull/28728 | patch, third-party-advisory | |
| https://hackerone.com/reports/1265709 | permissions-required, third-party-advisory | |
| https://security.gentoo.org/glsa/202208-17 | third-party-advisory, vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-41177 changed 2024-08-04 | CVE Terms of Use |
| NVD | CVE-2021-41177 changed 2026-06-17 | Public domain |