CVE-2022-28220: Apache James vulnerable to buffering attack

Summary

09/09/2022
Yes i
High
7.5

CVE-2022-28220: Apache James vulnerable to buffering attack. Affects org.apache.james:james-server across 2 version ranges.

< 3.6.3 >= 3.7.0, < 3.7.1

Fixed in 3.6.3 or 3.7.1, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Apache James is an open-source email server that provides a platform for sending, receiving, and storing email messages. It is commonly used in enterprise environments and offers various features for managing email communication. However, versions prior to release 3.6.3 and 3.7.1 of Apache James are susceptible to a buffering attack when using the STARTTLS command. This vulnerability, identified as CVE-2022-28220, is related to a similar issue addressed in Apache James 3.6.1 but has not been fully resolved, leading to potential exploitation through concurrent requests.

Vulnerability Detail

The vulnerability in Apache James allows for a buffering attack that can be initiated by exploiting the STARTTLS command. This attack can have severe consequences, potentially leading to unauthorized access, data leakage, or other malicious activities. The fix implemented for a similar issue in Apache James 3.6.1 is not sufficient to mitigate this vulnerability due to a parser differential and the lack of consideration for concurrent requests. As a result, versions 3.6.3 and 3.7.1 of Apache James remain vulnerable to this attack.

How To Fix

Latest published version: 3.9.1 as of 22 Oct 2026

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • < 3.6.3 3.6.3
  • >= 3.7.0, < 3.7.1 3.7.1

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

There is no specific workaround available for this vulnerability. It is crucial to apply the recommended fix by updating Apache James to the patched versions.

Conclusion

Apache James versions prior to 3.6.3 and 3.7.1 are vulnerable to a buffering attack when using the STARTTLS command. This vulnerability can have severe consequences, including unauthorized access and data leakage. It is crucial to update Apache James to the patched versions (3.6.3 or 3.7.1) to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for org.apache.james:james-server →

Share this vulnerability

FAQ

Apache James is an open-source email server used for sending, receiving, and storing email messages in enterprise environments.

A buffering attack is a type of security vulnerability where an attacker can exploit a buffer overflow or other memory-related issue to gain unauthorized access or execute malicious code.

The STARTTLS command is used in email communication to initiate a secure TLS connection between the email client and server, ensuring the confidentiality and integrity of the transmitted data.

This vulnerability can lead to unauthorized access, data leakage, or other malicious activities, depending on the attacker's intentions and capabilities.

To update Apache James, follow the upgrade instructions provided by the Apache James project. These instructions will guide you through the process of updating to version 3.6.3 or 3.7.1, depending on your current installation.

Related vulnerabilities

Recent vulnerabilities recorded for org.apache.james:james-server.

How To Fix

Latest published version: 3.9.1 as of 22 Oct 2026

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • < 3.6.3 3.6.3
  • >= 3.7.0, < 3.7.1 3.7.1

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback