Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.jamesframework/james
  4. ›
  5. CVE-2022-22931

CVE-2022-22931: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

February 7, 2022 (updated February 15, 2022)

Fix of CVE-2021-40525 do not prepend delimiters upon valid directory validations. Affected implementations include the maildir mailbox store and the Sieve file repository. This enables a user to access other users data stores (limited to user names being prefixed by the value of the username being used).

References

  • lists.apache.org/thread/bp8yql4wws56jlh0vxoowj7foothsmpr
  • nvd.nist.gov/vuln/detail/CVE-2022-22931
  • www.openwall.com/lists/oss-security/2022/02/07/1

Code Behaviors & Features

Detect and mitigate CVE-2022-22931 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

Version 3.6.1

Fixed versions

  • 3.6.2

Solution

Upgrade to version 3.6.2 or above.

Impact 4.3 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

maven/org.jamesframework/james/CVE-2022-22931.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:13 +0000.