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

- Priority: **Routine**
- Reason: Not severe (CVSS 8.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2021-10-25 · Modified: 2024-08-04
- Record: https://cvemate.com/vulnerability/CVE-2021-41177 · JSON: https://cvemate.com/vulnerability/CVE-2021-41177/json

## Description

```text
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`.
```

## Signals

- CVSS: 8.1 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
- EPSS: 1.55%, percentile 75.937%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- nextcloud nextcloud\_server: \< 20.0.13 \| ≥ 21.0.0, \< 21.0.5 \| ≥ 22.0.0, \< 22.2.0
- nextcloud security-advisories: \< 20.0.13 \| ≥ 21.0.0, \< 21.0.5 \| \< 22.2.0

## References

- <https://github.com/nextcloud/security-advisories/security/advisories/GHSA-fj39-4qx4-m3f2>
- <https://github.com/nextcloud/server/pull/28728>
- <https://hackerone.com/reports/1265709>
- <https://security.gentoo.org/glsa/202208-17>

---

Data as of 2026-12-05T08:24:48.858Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
