What’s Vulnerable › Vulnerabilities

CVE-2021-41177: Rate-limits not working on instances without configured memory cache backend

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 products

How to fix

Upgrade to a fixed version: Nextcloud Server 20.0.13, 21.0.5, 22.2.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-41177 or the next vulnerability affects your stack