VDB

CVE-2021-38542

CVE-2021-38542 PUBLISHED CVSS 5.900000095367432 MEDIUM

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

Reported by apache · Published January 4, 2022

james-server is fixed in 3.6.1 (Maven Central)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
org.apache.james:james-serverMaven Central3.6.1
org.jamesframework:jamesMaven Central3.6.1
Apache JamesApache Software Foundation3.6.1
jamesapache3.6.1

Risk scores

CVSS 3.1
5.900000095367432
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected products

VendorProductVersions
Apache Software FoundationApache JamesApache James
wolfikeycloak*
chainguardkeycloak*
Mavenorg.apache.james:james-server0
Apache Software FoundationApache James*
Mavenorg.jamesframework:james0

Timeline

  • Jan 4, 2022 CVE Published
  • Jan 5, 2022 EPSS Score (30 in total, the first dated here)
  • Sep 21, 2022 CVE Updated
  • Mar 23, 2026 Security Advisory
  • Jul 25, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-38542
vulnetix vdb fixes CVE-2021-38542

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-38542/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›