LiveActive security incident?Get immediate response
CVE Record

CVE-2021-29157: Dovecot before 2.3.15 allows ../ Path Traversal.

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.

HighCVSS 7.5Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

CVE-2021-29157 affects Dovecot before 2.3.15. A local attacker could abuse path traversal during OAuth2 local JWT validation to make Dovecot use a signing key from an attacker-controlled filesystem location, potentially compromising authentication trust.

Executive priority

Treat as high priority for mail infrastructure using the affected OAuth2 configuration. It is not evidenced as actively exploited, but successful abuse could undermine authentication integrity on sensitive messaging systems.

Technical view

The issue is a ../ path traversal in Dovecot OAuth2 local JWT validation when using the posix fs driver. With local filesystem access and low privileges, an attacker may influence HS256 validation key selection. CVSS 3.1 is 7.5 with high confidentiality and integrity impact.

Likely exposure

Exposure is most likely on Dovecot installations before 2.3.15 that use OAuth2 local JWT validation with the posix fs driver. Systems without that configuration, or without attacker local filesystem access, appear less exposed based on the source bundle.

Exploitation context

The bundle does not cite active exploitation, and KEV is false. Exploitation is local, requires privileges and high attack complexity, and depends on a specific OAuth2 JWT validation configuration.

Researcher notes

Key constraints are local attack vector, required low privileges, high complexity, and configuration dependency. The source bundle lists no CWE and incomplete affected-product metadata, so validation should focus on Dovecot version and OAuth2 JWT local validation paths.

Mitigation direction

  • Upgrade Dovecot to 2.3.15 or a vendor-fixed package.
  • Apply Fedora or Gentoo package updates where those distributions are used.
  • Review Dovecot OAuth2 local JWT validation configuration for posix fs driver usage.
  • Restrict local filesystem write access around validation key paths.
  • Check Dovecot vendor guidance for any deployment-specific hardening.

Validation and detection

  • Inventory Dovecot versions and flag anything before 2.3.15.
  • Identify systems using OAuth2 local JWT validation.
  • Confirm whether the posix fs driver is configured for local JWT validation.
  • Verify installed package versions against Dovecot, Fedora, or Gentoo advisories.
  • Review authentication logs for unusual OAuth2 validation failures or configuration changes.
Prepared
Confidence
high
Sources
7

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

description · low confidence lookup

File access behavior lookup

The CVE wording references file access or upload behavior, so file telemetry and web shell review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-29157 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7.5 (3.1)
Known Exploited
No
Published

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

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
6Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7.5CVSS 3.1HighCVSS:3.1/AC:H/AV:L/A:N/C:H/I:H/PR:L/S:C/UI:N1.15.8Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

7.5High
CVSS 3.1 vector shape for CVE-2021-29157Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

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

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/an/an/aListed
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.