{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:apache:james:3.6.1:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "3.6.1"
              },
              {
                "last_affected": "3.6.1"
              }
            ],
            "source": "CPE_STRING"
          },
          "events": [
            {
              "introduced": "863d81872046ecc793fa782a74f87a01b6a22659"
            },
            {
              "last_affected": "863d81872046ecc793fa782a74f87a01b6a22659"
            }
          ],
          "repo": "https://github.com/apache/james-project",
          "type": "GIT"
        }
      ],
      "versions": [
        "3.6.1"
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "apache",
    "cwe_ids": [
      "CWE-22"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/22xxx/CVE-2022-22931.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "Apache James 3.6.1"
          },
          {
            "last_affected": "Apache James 3.6.1"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "Fix of CVE-2021-40525 do not prepend delimiters upon valid directory validations. Affected implementations include: - maildir mailbox store - 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).",
  "id": "CVE-2022-22931",
  "modified": "2026-08-12T03:51:22.119436629Z",
  "published": "2022-02-07T18:50:10Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://lists.apache.org/thread/bp8yql4wws56jlh0vxoowj7foothsmpr"
    },
    {
      "type": "WEB",
      "url": "https://www.openwall.com/lists/oss-security/2022/02/07/1"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/22xxx/CVE-2022-22931.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-22931"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "Path traversal in Apache James 3.6.1"
}