CVE-2021-40525
Java vulnerability analysis and mitigation

Overview

CVE-2021-40525 affects Apache James ManagedSieve implementation and its file storage for sieve scripts. The vulnerability was discovered and disclosed in January 2022, impacting Apache James versions prior to 3.6.1. The vulnerability affects the ManagedSieve implementation alongside the file storage for sieve scripts (OSS Security).

Technical details

The vulnerability is classified as a path traversal vulnerability (CWE-22) that allows reading and writing of any file through the ManagedSieve implementation. It has received a CVSS v3.1 base score of 9.1 (CRITICAL) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N, indicating high severity with network accessibility and no authentication required (NVD).

Impact

The vulnerability allows attackers to read and write any file through the ManagedSieve implementation, potentially leading to unauthorized access to sensitive data and system files. The issue affects file storage systems for sieve scripts, which could compromise the security of the entire system (OSS Security).

Exploitability

The vulnerability is exploitable through the ManagedSieve implementation. However, by default, manageSieve is disabled, which provides some inherent protection. Distributed and Cassandra based products are not impacted by this vulnerability (OSS Security).

Mitigation and workarounds

The vulnerability has been patched in Apache James version 3.6.1 and higher. For users unable to upgrade immediately, the vulnerability can be mitigated by ensuring manageSieve is disabled, which is the default configuration. Additionally, users of distributed and Cassandra-based products are not affected by this vulnerability (OSS Security).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-73644CRITICAL9.6
  • Java logoJava
  • org.openidentityplatform.opendj:opendj-server-legacy
NoYesAug 13, 2026
CVE-2026-73507HIGH7.5
  • Java logoJava
  • seata
NoYesAug 13, 2026
CVE-2026-49989HIGH7.1
  • Java logoJava
  • io.crate:crate
NoYesAug 14, 2026
CVE-2026-53660HIGH7
  • Java logoJava
  • org.openidentityplatform.openam:openam-core
NoYesAug 14, 2026
CVE-2026-73508MEDIUM5.3
  • Java logoJava
  • celeborn-0.6
NoYesAug 13, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management