CVE-2022-22931
Java vulnerability analysis and mitigation

Overview

CVE-2022-22931 is a path traversal vulnerability affecting Apache James Server. The vulnerability was discovered in early 2022 and stems from incomplete fixes of a previous vulnerability (CVE-2021-40525). The issue affects the maildir mailbox store and Sieve file repository implementations (GitHub Security Lab).

Technical details

The vulnerability is classified as a path traversal issue (CWE-22) with a CVSS v3.1 Base Score of 4.3 (MEDIUM) with vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N. The technical root cause involves the validation of directory paths not properly prepending delimiters upon valid directory validations. This affects both the maildir mailbox store and Sieve file repository components (NVD).

Impact

The vulnerability enables unauthorized access where a user can access other users' data stores, specifically limited to usernames that are prefixed by the value of the username being used. This creates a potential for data exposure between users of the system (OpenWall).

Mitigation and workarounds

This vulnerability has been fixed in Apache James version 3.6.2. Organizations running affected versions should upgrade to this patched version to mitigate the risk (OpenWall).

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-2025-26866HIGH8.8
  • JavaJava
  • org.apache.hugegraph:hg-pd-core
NoYesDec 12, 2025
CVE-2025-54981HIGH7.5
  • JavaJava
  • org.apache.streampark:streampark
NoYesDec 12, 2025
CVE-2025-67721MEDIUM6.3
  • JavaJava
  • trino
NoYesDec 12, 2025
CVE-2025-53960MEDIUM5.9
  • JavaJava
  • org.apache.streampark:streampark
NoYesDec 12, 2025
CVE-2025-54947MEDIUM5.3
  • JavaJava
  • org.apache.streampark:streampark
NoYesDec 12, 2025

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