5.9

CVE-2021-38542: Apache James vulnerable to STARTTLS command injection (IMAP and POP3)

Modified
AliasesCGA-pgpv-68jp-r38vCGA-qp69-c6g3-rr38GHSA-84wg-rgp8-2hg4
Published 04-01-2022Last modified 04-08-2024

Vulnerability summary

CVE-2021-38542 is a medium (CVSS 5.9) vulnerability in apache software foundation apache james. EPSS estimates a 2.34% chance of exploitation in the next 30 days, higher than 84.1% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.9/10
010
Medium · v3.1 (NVD)
EPSS score
2.34%
0%100%
Low · -0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 0 · Related 2

Timeline

  1. 04-01-2022
    PublishedVulnerability first disclosed.
  2. 04-08-2024
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

5 scores · 4 sources · 2 versions

EPSS trend

Probability

2.34%

Chance of exploitation in the next 30 days

Percentile

84%

Versus all other CVEs

30-day change

Decrease -0.01 pp

From 2.35% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Apache1 product
Apache software foundation1 product
Chainguard1 product
  • keycloakAll versions (No fix recorded)
Org.apache.james1 product
  • james-server< 3.6.1
Wolfi1 product
  • keycloakAll versions (No fix recorded)

5 vendors · 5 products

References

4 links