title: STARTTLS command injection in Apache JAMES
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.
problem types: CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection')
affected:
{
product: Apache James
vendor: Apache Software Foundation
versions:
lessThanOrEqual: 3.6.2, status: affected, version: Apache James, versionType: custom
}
metrics:
other: [
content: {'other': 'This can result in Man-in -the-middle command injection attacks, leading potentially to leakage of sensible information like user credentials. Exploit in IMAP requires a local account but SMTP exploit does not. Data integrity could be compromised in POP3.'}
type: unknown
]
workarounds: Upgrade to Apache James 3.7.1 or Apache James 3.6.3.