{"id":"CVE-2022-24838","summary":"Command Injection in Appointment Emails for Nextcloud Calendar","details":"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:\u003cBOOKING USER'S EMAIL\u003e ` SMTP command and begin injecting arbitrary SMTP commands. It is recommended that Calendar is upgraded to 3.2.2. There are no workaround available.","aliases":["GHSA-8xv5-4855-24qf"],"modified":"2026-04-10T04:45:35.468467Z","published":"2022-04-11T20:25:13Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/24xxx/CVE-2022-24838.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-74"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/24xxx/CVE-2022-24838.json"},{"type":"ADVISORY","url":"https://github.com/nextcloud/security-advisories/security/advisories/GHSA-8xv5-4855-24qf"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24838"},{"type":"FIX","url":"https://github.com/nextcloud/calendar/commit/7b70edfb8a0fcf0926f613ababcbd56c6ecd9f35"},{"type":"FIX","url":"https://github.com/nextcloud/calendar/pull/4073"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/nextcloud/calendar","events":[{"introduced":"0"},{"fixed":"623c6a6037fca9a80475b73087f19dd9157b3973"}]}],"versions":["v1.0","v1.0-alpha1","v1.0-alpha2","v1.1","v1.2","v1.2.1","v1.2.2","v1.3.0","v1.3.1","v1.3.2","v1.3.3","v1.4.0","v1.4.1","v1.5.0","v1.5.1","v1.5.2","v1.5.3","v1.5.4","v1.5.5","v1.5.6","v1.5.7","v1.6.0","v1.6.1","v1.6.2","v1.6.3","v1.6.4","v1.7.0","v1.7.1","v2.0.0","v2.0.0-beta1","v2.0.0-beta2","v2.0.0-beta3","v2.0.0-rc1","v2.0.1","v2.0.2","v2.0.3","v2.1.0","v2.1.1","v2.1.2","v2.1.3","v2.2.0","v2.3.0-RC.1","v2.3.0-alpha.1","v2.3.0-alpha.2","v2.3.0-alpha.3","v2.4.0-rc.1","v2.4.0-rc2","v3.0.0-beta1","v3.0.0-beta2","v3.0.0-rc1","v3.1.0-rc1","v3.2.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-24838.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"}]}