Skip to content

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

HighCVSS 8.1 EPSS 1.6%
Published
Updated
Exploit status
No public exploit known
Technology
PHP

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
nextcloud server < 20.0.13; >= 21.0.0, < 21.0.5; >= 22.0.0, < 22.2.0 20.0.13, 21.0.5, 22.2.0 Fixed
Nextcloud security-advisories = < 20.0.13; = < 22.2.0; = >= 21.0.0, < 21.0.5 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
nextcloud server < 20.0.13 20.0.13
nextcloud server >= 21.0.0, < 21.0.5 21.0.5
nextcloud server >= 22.0.0, < 22.2.0 22.2.0
Nextcloud security-advisories = < 20.0.13 No fix listed
Nextcloud security-advisories = >= 21.0.0, < 21.0.5 No fix listed
Nextcloud security-advisories = < 22.2.0 No fix listed

References