Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-41177

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

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-41177
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 11:56 UTC · Revision 1

Source evidence

CVE-2021-41177

core-osv · Original source

Published 25 Oct 2021, 22:15 UTC

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

osv:CVE-2021-41177
Complete source record
{
  "id": "28546494565a36a42f5057be842abeebc12127956f2758fbba3247575377bed5",
  "url": "https://osv.dev/vulnerability/CVE-2021-41177",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-41177",
    "summary": "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`.",
    "evidence": "osv:CVE-2021-41177",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2021-41177",
      "aliases": [
        "CVE-2021-41177",
        "GHSA-fj39-4qx4-m3f2"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/nextcloud/server",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "43a0a9a3213588d5f6fc88a0e52df6b8a0b9b9ec"
                },
                {
                  "introduced": "8985b7930653139859002eb3eca2852999ed8f0d"
                },
                {
                  "fixed": "64e55fdd4a9ab38d5ad5e8fe457b2912e43efead"
                },
                {
                  "introduced": "c67e1420c8f741bfa43db08fcc295ec3b156fff8"
                },
                {
                  "fixed": "07e359b7de671a81a7baad701d4496a9f871a770"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "20.0.13"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "21.0.0"
                      },
                      {
                        "fixed": "21.0.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "22.0.0"
                      },
                      {
                        "fixed": "22.2.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v20.0.13rc1",
            "v21.0.5rc1",
            "v22.2.0rc2",
            "v22.1.1",
            "v22.1.1rc2",
            "v22.1.1rc1",
            "v21.0.4",
            "v22.1.0",
            "22.1.0",
            "v22.1.0rc1",
            "v21.0.4rc1",
            "v22.0.0",
            "v20.0.11",
            "v21.0.3",
            "v21.0.3rc1",
            "v20.0.11rc1",
            "v20.0.10",
            "v21.0.2",
            "v20.0.10RC1",
            "v21.0.2RC1",
            "v20.0.9",
            "v21.0.1",
            "v21.0.1RC1",
            "v20.0.9RC1",
            "v20.0.8",
            "v21.0.0",
            "v20.0.8RC1",
            "v20.0.7RC1",
            "v20.0.7",
            "v20.0.6",
            "v20.0.6RC1",
            "v20.0.5",
            "v20.0.5RC2",
            "v20.0.5RC1",
            "v20.0.4",
            "v20.0.3",
            "v20.0.3RC2",
            "v20.0.2",
            "v20.0.2RC2",
            "v20.0.2RC1",
            "v20.0.1",
            "v20.0.1RC1",
            "v20.0.0",
            "v20.0.0RC2",
            "v20.0.0RC1",
            "v20.0.0beta4",
            "v20.0.0beta3",
            "v20.0.0beta2",
            "v20.0.0beta1",
            "v19.0.0RC2",
            "v19.0.0RC1",
            "v19.0.0beta7",
            "v19.0.0beta6",
            "v19.0.0beta5",
            "v19.0.0beta4",
            "v19.0.0beta3",
            "v19.0.0beta2",
            "v19.0.0beta1",
            "v18.0.0RC1",
            "v18.0.0beta4",
            "v18.0.0beta3",
            "v18.0.0beta2",
            "v18.0.0beta1",
            "v17.0.0beta4",
            "v17.0.0beta3",
            "v17.0.0beta2",
            "v17.0.0beta1",
            "v16.0.0RC1",
            "v16.0.0beta3",
            "v16.0.0beta2",
            "v16.0.0beta1",
            "v16.0.0alpha1",
            "v15.0.0RC1",
            "v15.0.0beta2",
            "v15.0.0beta1",
            "v14.0.0RC2",
            "v14.0.0RC1",
            "v14.0.0beta4",
            "v14.0.0beta3",
            "v14.0.0beta2",
            "v14.0.0beta1",
            "v13.0.0RC1",
            "v13.0.0beta4",
            "v13.0.0beta3",
            "v13.0.0beta2",
            "v13.0.0beta1",
            "v12.0.0beta4",
            "v12.0.0beta3",
            "v12.0.0beta2",
            "v12.0.0beta1",
            "v11.0.0",
            "v11.0RC2",
            "v9.1.0beta1",
            "v9.0.0beta2",
            "v9.0beta1",
            "v8.2RC1",
            "v8.2beta1",
            "v8.1RC2",
            "v8.1.0beta2",
            "v8.1.0beta1",
            "v8.1.0alpha2",
            "v8.1.0alpha1",
            "v8.0.0",
            "v8.0.0RC2",
            "v8.0.0RC1",
            "v8.0.0beta2",
            "v8.0.0beta1",
            "v8.0.0alpha2",
            "v8.0.0alpha1",
            "v7.0.0beta1",
            "v7.0.0alpha2",
            "v6.0.0RC2",
            "v6.0.0RC1",
            "v6.0.0beta5",
            "v6.0.0beta4",
            "v6.0.0beta3",
            "v6.0.0beta2",
            "v6.0.0alpha2",
            "v5.0.0",
            "v5.0.0RC3",
            "v5.0.0RC2",
            "v5.0.0RC1",
            "v5.0.0beta2",
            "v5.0.0beta1",
            "v5.0.0alpha1",
            "v4.5.0",
            "v4.5.0RC3",
            "v4.5.0RC2",
            "v4.5.0RC1",
            "v4.5.0beta4",
            "v4.5.0beta3",
            "v4.0.6",
            "v4.0.5",
            "v4.0.4",
            "v4.0.1",
            "v4.0.0",
            "v4.0.0RC2",
            "v4.0.0RC",
            "v4.0.0beta",
            "v3.0",
            "v1.0.0beta1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-41177.json"
          }
        }
      ],
      "modified": "2026-10-20T10:54:57.690242589Z",
      "provider": "osv",
      "references": [
        "https://github.com/nextcloud/security-advisories/security/advisories/GHSA-fj39-4qx4-m3f2",
        "https://security.gentoo.org/glsa/202208-17",
        "https://hackerone.com/reports/1265709",
        "https://github.com/nextcloud/server/pull/28728"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-41177",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 386555,
  "published_at": "2021-10-25T22:15:07.847+00:00"
}