{"id":"CVE-2021-38542","published":"2022-01-04T08:55:21Z","modified":"2024-08-04T01:44:23Z","title":"Apache James vulnerable to STARTTLS command injection (IMAP and POP3)","vendor":"Apache","product":"Apache James","tier":"tail","description":{"text":"Apache James prior to release 3.6.1 is vulnerable to a buffering attack relying on the use of the STARTTLS command. This can result in Man-in -the-middle command injection attacks, leading potentially to leakage of sensible information.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.02336,"percentile":0.83991,"provenance":"source"},"cwes":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"references":[{"url":"https://www.openwall.com/lists/oss-security/2022/01/04/1","tags":["x_refsource_MISC"]},{"url":"http://www.openwall.com/lists/oss-security/2022/01/04/1","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.openwall.com/lists/oss-security/2022/09/20/1","tags":["mailing-list","x_refsource_MLIST"]}],"priority":{"score":16.8,"factors":[{"name":"EPSS percentile","points":16.8}]},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache James","versions":[">= Apache James, < 3.6.1"]}],"workarounds":{"items":["We recommend to upgrade to Apache James 3.6.1, which fixes this vulnerability. Furthermore, we recommend, if possible to dis-activate STARTTLS and rely solely on explicit TLS for mail protocols, including SMTP, IMAP and POP3."],"from":"CVE.org CNA","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.apache.james:james-server","vulnerableRanges":["<3.6.1"],"patched":["3.6.1"],"from":["GHSA-84wg-rgp8-2hg4"],"provenance":"source"}],"summary":{"text":"Apache James, prior to release 3.6.1, contains a buffering flaw in its handling of the STARTTLS command in its IMAP and POP3 services, classified as a command injection weakness.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:33:17Z"},"euvd":{"id":"EUVD-2022-0517","exploited":false,"provenance":"source"}}