{"vuln_id":"CVE-2024-37315","aliases":["GHSA-5mq8-738w-5942"],"description":"Read-only users can restore old versions","published_at":"2024-06-14T14:29:54Z","modified_at":"2024-06-14T14:29:54Z","first_seen_at":"2026-11-22T14:05:36.512426Z","severity":"low","severity_source":"ghsa","cvss_score":3.5,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N","cwe":["CWE-284"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00709,"epss_percentile":0.49176,"nvd_status":null,"enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-37315"},"matched_alias":null,"items":[{"id":12530,"source":{"id":"gh-nextcloud-advisories","name":"Nextcloud security advisories (GitHub nextcloud/security-advisories)"},"title":"GHSA-5mq8-738w-5942 / CVE-2024-37315: Read-only users can restore old versions","summary":"Read-only users can restore old versions\n\n### Impact\r\n\r\nAn attacker with read-only access to a file is able to restore older versions of a document when the files_versions app is enabled.\r\n\r\n### Patches\r\n\r\nIt is recommended that the Nextcloud Server is upgraded to 26.0.12, 27.1.7 or 28.0.3\r\nIt is recommended that the Nextcloud Enterprise Server is upgraded to 23.0.12.16, 24.0.12.12, 25.0.13.6, 26.0.12, 27.1.7 or 28.0.3\r\n\r\n### Workarounds\r\n\r\n* Disable app files_version\r\n\r\n### References\r\n\r\n* [HackerOne](https://hackerone.com/reports/1356508)\r\n* [PullRequest](https://github.com/nextcloud/server/pull/43727)\r\n\r\n### For more information\r\n\r\nIf you have any questions or comments about this advisory:\r\n\r\n* Create a post in [nextcloud/security-advisories](https://github.com/nextcloud/security-advisories/discussions)\r\n* Customers: Open a support ticket at [portal.nextcloud.com](https://portal.nextcloud.com)\n\nAffected packages: nextcloud enterprise:Server, nextcloud:Server\nPatched: Server 26.0.12, 27.1.7, 28.0.3, Server 23.0.12.16, 24.0.12.12, 25.0.13.6, 26.0.12, 27.1.7, 28.0.3","url":"https://github.com/nextcloud/security-advisories/security/advisories/GHSA-5mq8-738w-5942","published_at":"2024-06-14T14:29:54Z","updated_at":"2024-06-14T14:29:54Z","fetched_at":"2026-11-22T14:05:36.351002Z","severity":"low","cvss_score":3.5,"epss":0.00709,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"nextcloud","product":"Server","vuln_id":"CVE-2024-37315","vuln_ids":["CVE-2024-37315","GHSA-5MQ8-738W-5942"],"tags":["repo-advisory","nextcloud","nextcloud enterprise","CWE-284","security","repo:nextcloud/security-advisories","stack"],"cluster_id":11732,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/12530","html":"https://vulnwatch.ve1ve2.com/item/12530"}}]}