VYPR
High severityNVD Advisory· Published Sep 8, 2022· Updated Aug 3, 2024

STARTTLS command injection in Apache JAMES

CVE-2022-28220

Description

Apache James prior to release 3.6.3 and 3.7.1 is vulnerable to a buffering attack relying on the use of the STARTTLS command. Fix of CVE-2021-38542, which solved similar problem fron Apache James 3.6.1, is subject to a parser differential and do not take into account concurrent requests.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Apache James prior to 3.6.3 and 3.7.1 vulnerable to STARTTLS buffering attack allowing MITM command injection and credential leakage.

Apache James versions prior to 3.6.3 and 3.7.1 are vulnerable to a buffering attack exploiting the STARTTLS command [1]. The root cause is a parser differential in the fix for CVE-2021-38542, which does not account for concurrent requests, allowing an attacker to inject commands during the TLS handshake [1][2].

An attacker can perform a man-in-the-middle attack to inject STARTTLS commands. Exploitation requires no authentication for SMTP, but a local account is needed for IMAP; POP3 data integrity may also be compromised [2]. The attack can lead to leakage of sensitive information such as user credentials [2].

Successful exploitation can result in credential disclosure and potential data integrity issues across protocols [2]. The vulnerability is tracked as JAMES-1862 [2].

Mitigation involves upgrading to Apache James 3.7.1 or 3.6.3, which include the fix [2][4]. No workarounds have been provided [2].

AI Insight generated on May 21, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
org.apache.james:james-serverMaven
< 3.6.33.6.3
org.apache.james:james-serverMaven
>= 3.7.0, < 3.7.13.7.1

Affected products

10

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

4

News mentions

0

No linked articles in our index yet.