VDB

CVE-2021-29157

CVE-2021-29157 PUBLISHED CVSS 7.5 HIGH

Reported by mitre · Published June 28, 2021

Dovecot before 2.3.15 allows ../ Path Traversal. An attacker with access to the local filesystem can trick OAuth2 authentication into using an HS256 validation key from an attacker-controlled location. This occurs during use of local JWT validation with the posix fs driver.

Fixed versions

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

PackageEcosystemFixed in
dovecotArch Linux2.3.15-1

Risk scores

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

Affected products

VendorProductVersions
n/an/an/a
archdovecot0
n/an/a*
alpinedovecot0

Timeline

  • Jun 21, 2021 CVE Published
  • Jun 28, 2021 PoC Published
  • Jun 29, 2021 EPSS Score (30 in total, the first dated here)
  • Feb 2, 2025 CVE Updated
  • Mar 10, 2026 Security Advisory (10 in total, the first dated here)
  • Mar 27, 2026 Distribution Patch (2 in total, the first dated here)
  • Aug 5, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-29157
vulnetix vdb fixes CVE-2021-29157

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-29157/fixes/registry"

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

References

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