CVE-2021-38542

Apache James vulnerable to STARTTLS command injection (IMAP and POP3)

Published Jan 4, 2022 CVSS 3.1 · 5.9 Medium EPSS 2.3% KEV · Not listed
Description
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.

Remediation

Vendor Workaround

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.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-0517 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.
Github GHSA Github GHSA GHSA-84wg-rgp8-2hg4 Command Injection in Apache James
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Aug 4, 2024, 1:44 AM
Reserved
Aug 11, 2021, 12:00 AM
Status
Modified
Published
Jan 4, 2022, 9:15 AM
Modified
Jun 17, 2026, 4:02 AM