{"id":"CVE-2021-41177","state":"PUBLISHED","title":"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`.","publishedAt":"2021-10-25T21:50:11.000Z","updatedAt":"2024-08-04T02:59:31.688Z","severity":{"score":8.1,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["nextcloud security-advisories"],"affected":[{"vendor":"nextcloud","product":"security-advisories","versions":[{"version":"< 20.0.13","status":"affected"},{"version":">= 21.0.0, < 21.0.5","status":"affected"},{"version":"< 22.2.0","status":"affected"}]}],"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"],"weaknesses":["CWE-799"],"ingestedAt":"2026-10-29T19:49:01.697Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/41xxx/CVE-2021-41177.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-41177","state":"PUBLISHED","datePublished":"2021-10-25T21:50:11.000Z","dateUpdated":"2024-08-04T02:59:31.688Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2021-09-15T00:00:00.000Z"},"containers":{"cna":{"title":"Rate-limits not working on instances without configured memory cache backend","descriptions":[{"lang":"en","value":"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":[{"vendor":"nextcloud","product":"security-advisories","versions":[{"version":"< 20.0.13","status":"affected"},{"version":">= 21.0.0, < 21.0.5","status":"affected"},{"version":"< 22.2.0","status":"affected"}]}],"references":[{"url":"https://github.com/nextcloud/security-advisories/security/advisories/GHSA-fj39-4qx4-m3f2","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nextcloud/server/pull/28728","tags":["x_refsource_MISC"]},{"url":"https://hackerone.com/reports/1265709","tags":["x_refsource_MISC"]},{"url":"https://security.gentoo.org/glsa/202208-17","name":"GLSA-202208-17","tags":["vendor-advisory","x_refsource_GENTOO"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.1,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-799","description":"CWE-799: Improper Control of Interaction Frequency","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","dateUpdated":"2022-08-11T00:08:05.000Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa"},"source":{"advisory":"GHSA-fj39-4qx4-m3f2","discovery":"UNKNOWN"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2021-41177","STATE":"PUBLIC","TITLE":"Rate-limits not working on instances without configured memory cache backend"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"security-advisories","version":{"version_data":[{"version_value":"< 20.0.13"},{"version_value":">= 21.0.0, < 21.0.5"},{"version_value":"< 22.2.0"}]}}]},"vendor_name":"nextcloud"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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`."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.1,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-799: Improper Control of Interaction Frequency"}]}]},"references":{"reference_data":[{"name":"https://github.com/nextcloud/security-advisories/security/advisories/GHSA-fj39-4qx4-m3f2","refsource":"CONFIRM","url":"https://github.com/nextcloud/security-advisories/security/advisories/GHSA-fj39-4qx4-m3f2"},{"name":"https://github.com/nextcloud/server/pull/28728","refsource":"MISC","url":"https://github.com/nextcloud/server/pull/28728"},{"name":"https://hackerone.com/reports/1265709","refsource":"MISC","url":"https://hackerone.com/reports/1265709"},{"name":"GLSA-202208-17","refsource":"GENTOO","url":"https://security.gentoo.org/glsa/202208-17"}]},"source":{"advisory":"GHSA-fj39-4qx4-m3f2","discovery":"UNKNOWN"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/nextcloud/security-advisories/security/advisories/GHSA-fj39-4qx4-m3f2","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/nextcloud/server/pull/28728","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://hackerone.com/reports/1265709","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://security.gentoo.org/glsa/202208-17","name":"GLSA-202208-17","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T02:59:31.688Z"}}]}}}