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

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.55%, higher than 75% of CVEs (2026-12-01)
- Published: 2021-10-25T21:50:11.000Z
- Modified: 2026-06-17T04:08:01.870Z
- Weaknesses: CWE-799
- 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`.

(As written by CVE List.)

## Affected

- nextcloud security-advisories: < 20.0.13; >= 21.0.0, < 21.0.5; < 22.2.0
- nextcloud nextcloud_server: before 20.0.13; from 21.0.0 before 21.0.5; from 22.0.0 before 22.2.0

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- NVD: CVSS:2.0 5.5 Medium `AV:N/AC:L/Au:S/C:P/I:N/A:P`

## 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

- CVE List: [CVE-2021-41177](https://www.cve.org/CVERecord?id=CVE-2021-41177), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2021-41177](https://nvd.nist.gov/vuln/detail/CVE-2021-41177), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-41177 · Whole record: https://cve.day/CVE-2021-41177.json · Rebuilt by cve.day 2026-11-25T22:58:05.191Z
