Command Injection in Apache James
Published Jan 4, 2022 · Updated Oct 23, 2026 · Also known as GHSA-84wg-rgp8-2hg4
Original summary
Normalized public record · Updated Oct 23, 2026
Command Injection in Apache James
Publisher and source text is retained separately from QFinch interpretation.
QFinch assessment
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.
Evidence: public source recordsAffected products
| Affected package, product or range | Fix status |
|---|---|
| Consult the referenced vendor advisory for affected versions. | Consult source advisory |
Matching a version is only one part of assessing exposure. QFinch has not assessed your environment on this public page.
Remediation
Apply the vendor-supported fixed release or mitigation, then verify the affected component is no longer reachable.
- Confirm the affected product and reachable code path exist in your environment.
- Apply the vendor-supported patch or mitigation from the primary advisory.
- Rescan the exact deployed revision and retain verification evidence.
Evidence coverage
- SSVC priority
- LOW
- Confidence
- Not available
- Aliases
- GHSA-84wg-rgp8-2hg4
Scores appear only when corresponding evidence exists. Missing data is never interpreted as zero risk.
Sources and record history
- www.openwall.com ↗
- [oss-security] 20220104 CVE-2021-38542: Apache James vulnerable to STARTTLS command injection (IMAP and POP3) ↗
- [oss-security] 20220919 CVE-2022-28220: STARTTLS command injection in Apache JAMES ↗
Record history
Published Jan 4, 2022 · Last refreshed Oct 23, 2026