VDB

CVE-2021-40525

CVE-2021-40525 PUBLISHED CVSS 9.100000381469727 CRITICAL

Sieve file storage vulnerable to path traversal attacks

Reported by apache · Published January 4, 2022

james-server is fixed in 3.6.1 (Maven Central)

Apache James ManagedSieve implementation alongside with the file storage for sieve scripts is vulnerable to path traversal, allowing reading and writing any file. This vulnerability had been patched in Apache James 3.6.1 and higher. We recommend the upgrade. Distributed and Cassandra based products are also not impacted.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
org.apache.james:james-serverMaven Central3.6.1
org.jamesframework:jamesMaven Central3.6.2
Apache JamesApache Software Foundation3.6.0
jamesapache3.6.2

Risk scores

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

Affected products

VendorProductVersions
Apache Software FoundationApache JamesApache James
Mavenorg.apache.james:james-server0
chainguardkeycloak*
Mavenorg.jamesframework:james0
wolfikeycloak*
Apache Software FoundationApache James*

Timeline

  • Jan 4, 2022 CVE Published
  • Jan 5, 2022 EPSS Score (30 in total, the first dated here)
  • Aug 4, 2024 CVE Updated
  • Mar 18, 2026 Security Advisory
  • Jul 21, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-40525
vulnetix vdb fixes CVE-2021-40525

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-40525/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›