4.3medium
Possible Injection in Nextcloud Server
- Severity
- 4.3medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 1.32% (higher than 71% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
Description
Nextcloud Server is the file server software for Nextcloud, a self-hosted productivity platform. Prior to versions 20.0.14.4, 21.0.8, 22.2.4, and 23.0.1, it is possible to create files and folders that have leading and trailing \n, \r, \t, and \v characters. The server rejects files and folders that have these characters in the middle of their names, so this might be an opportunity for injection. This issue is fixed in versions 20.0.14.4, 21.0.8, 22.2.4, and 23.0.1. There are currently no known workarounds.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| nextcloud security-advisories | < 20.0.14.4, < 21.0.8, < 22.2.4, < 23.0.1 | CVE List |
| nextcloud nextcloud_server | before 20.0.14.4, from 21.0.0 before 21.0.8, from 22.0.0 before 22.2.4, from 23.0.0 before 23.0.1 | NVD |
All scores
| GitHub_M | 4.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
| NVD | 4.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
Nextcloud Server is the file server software for Nextcloud, a self-hosted productivity platform. Prior to versions 20.0.14.4, 21.0.8, 22.2.4, and 23.0.1, it is possible to create files and folders that have leading and trailing \n, \r, \t, and \v characters. The server rejects files and folders that have these characters in the middle of their names, so this might be an opportunity for injection. This issue is fixed in versions 20.0.14.4, 21.0.8, 22.2.4, and 23.0.1. There are currently no known workarounds.
NVD (es)
Nextcloud Server es el software de servidor de archivos de Nextcloud, una plataforma de productividad autoalojada. En versiones anteriores a 20.0.14.4, 21.0.8, 22.2.4 y 23.0.1, era posible crear archivos y carpetas que contuvieran caracteres \N iniciales y finales. El servidor rechaza los archivos y carpetas que presentan estos caracteres en medio de sus nombres, por lo que esto podría ser una oportunidad para la inyección. Este problema ha sido corregido en versiones 20.0.14.4, 21.0.8, 22.2.4 y 23.0.1. Actualmente no se presentan medidas de mitigación conocidas
References
| https://github.com/nextcloud/security-advisories/security/advisories/GHSA-w3h6-p64h-q9jp | third-party-advisory | |
| https://github.com/nextcloud/server/pull/29895 | patch, third-party-advisory | |
| https://hackerone.com/reports/1402249 | permissions-required, third-party-advisory | |
| https://security.gentoo.org/glsa/202208-17 | third-party-advisory, vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-24888 changed 2025-04-23 | CVE Terms of Use |
| NVD | CVE-2022-24888 changed 2026-06-17 | Public domain |