CVE-2022-31014 Details
Description
Nextcloud server is an open source personal cloud server. Affected versions were found to be vulnerable to SMTP command injection. The impact varies based on which commands are supported by the backend SMTP server. However, the main risk here is that the attacker can then hijack an already-authenticated SMTP session and run arbitrary SMTP commands as the email user, such as sending emails to other users, changing the FROM user, and so on. As before, this depends on the configuration of the server itself, but newlines should be sanitized to mitigate such arbitrary SMTP command injection. It is recommended that the Nextcloud Server is upgraded to 22.2.8 , 23.0.5 or 24.0.1. There are no known workarounds for this issue.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 22, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/nextcloud/security-advisories/security/advisories/GHSA-264h-3v4w-6xh2 | CVE | ExploitThird Party Advisory |
| https://github.com/nextcloud/server/pull/32428 | CVE | Issue TrackingPatchThird Party Advisory |
| https://hackerone.com/reports/1516377 | CVE | ExploitIssue TrackingPatchThird Party Advisory |
| https://github.com/nextcloud/security-advisories/security/advisories/GHSA-264h-3v4w-6xh2 | [email protected] | ExploitThird Party Advisory |
| https://github.com/nextcloud/server/pull/32428 | [email protected] | Issue TrackingPatchThird Party Advisory |
| https://hackerone.com/reports/1516377 | [email protected] | ExploitIssue TrackingPatchThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') | [email protected] |
| CWE-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') | [email protected] |
| CWE-93 | Improper Neutralization of CRLF Sequences ('CRLF Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| nextcloud nextcloud server | < 19.0.13.7 < 22.2.8 >= 20.0.0, < 20.0.14.6 >= 21.0.0, < 21.0.9.5 >= 23.0.0, < 23.0.5 24.0.0 - 24.0.0 beta1 24.0.0 beta2 24.0.0 beta3 24.0.0 rc1 24.0.0 rc2 24.0.0 rc3 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Jun 29, 2023 | Reanalysis | [email protected] |
| Jul 14, 2022 | Initial Analysis | [email protected] |