Live threats

All CVEs / Apache

CVE-2021-38542Apache James

Medium 5.9 No auth needed

Priority
51
CVSS 3.1
5.9
EPSS
2.3%
probability of exploitation in 30 days · percentile 84
Auth required
No
Published
Jan 4, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-77, CWE-327
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for James.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.apache.james:james-server < 3.6.1 3.6.1 —

Per OSV / GitHub Advisories (GHSA-84wg-rgp8-2hg4). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
apachejames< 3.6.1

Official sources

References

Links published by the sources. Open them with care.