CVE-2022-24838 json
Command Injection in Appointment Emails for Nextcloud Calendar
published 2022-04-11 4 y ago modified 2026-06-17 4 mo ago also EUVD-2022-29623
- cvss
- 5.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 33.0%
- EPSS 33.0% chance of exploitation in 30 days, percentile 98%
- public exploits
- 0
- none known
Summary
Nextcloud Calendar is a calendar application for the nextcloud framework. SMTP Command Injection in Appointment Emails via Newlines: as newlines and special characters are not sanitized in the email value in the JSON request, a malicious attacker can inject newlines to break out of the `RCPT TO:<BOOKING USER'S EMAIL> ` SMTP command and begin injecting arbitrary SMTP commands. It is recommended that Calendar is upgraded to 3.2.2. There are no workaround available.
Patch / fix
- nextcloud calendar 3.2.2
- github.com/nextcloud/calendar@7b70edf commit
- github.com/nextcloud/calendar#4073 pull request
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
33.02% chance of exploitation in the next 30 days, higher than 98% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected products
- nextcloud security-advisories
Classification
- Weakness
-
- CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component
References
-
github.com
/nextcloud/calendar/pull/4073
patch, third-party-advisory
-
github.com
/nextcloud/calendar/commit/7b70edfb8a0fcf0926f613ababcbd56c6ecd9f35
patch, third-party-advisory
-
github.com
/nextcloud/security-advisories/security/advisories/GHSA-8xv5-4855-24qf
third-party-advisory
Sources
- CVE List CVE-2022-24838
- NVD CVE-2022-24838
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.