Skip to content
OpenAdvisories
High · 7.5 CVE-2021-29157 EUVD-2021-15796GHSA-89g9-v7q6-px25

Dovecot before 2.3.15 allows ../ Path Traversal. An attacker with access to the local filesystem can trick OAuth2 authentication into using…

Published Jun 28, 2021 · Updated Aug 3, 2024 · Assigned by mitre

Description

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 in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 dovecot 1:2.3.13+dfsg1-2 —
Debian 13 dovecot 1:2.3.13+dfsg1-2 —
Debian 12 dovecot 1:2.3.13+dfsg1-2 —
ReleasePackageFixed inAdvisory
SLES 15 SP3 dovecot23 2.3.11.3-55.1 SUSE-SU-2021:2892-1, SUSE-SU-2021:2123-1
SLES 15 SP2 dovecot23 2.3.11.3-55.1 SUSE-SU-2021:2892-1, SUSE-SU-2021:2123-1
SLES 15 SP1 dovecot23 2.3.11.3-24.1 SUSE-SU-2021:2891-1, SUSE-SU-2021:2124-1
SLES 15 dovecot23 2.3.11.3-4.35.1 SUSE-SU-2021:2890-1, SUSE-SU-2021:2122-1
Show 8 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP1 dovecot23 2.3.11.3-24.1 SUSE-SU-2021:2891-1, SUSE-SU-2021:2124-1
SLES for SAP 15 dovecot23 2.3.11.3-4.35.1 SUSE-SU-2021:2890-1, SUSE-SU-2021:2122-1
SLE HPC 15 SP1 dovecot23 2.3.11.3-24.1 SUSE-SU-2021:2891-1, SUSE-SU-2021:2124-1
SLE HPC 15 dovecot23 2.3.11.3-4.35.1 SUSE-SU-2021:2890-1, SUSE-SU-2021:2122-1
SUSE Manager Server 4.0 dovecot23 2.3.11.3-24.1 SUSE-SU-2021:2891-1, SUSE-SU-2021:2124-1
SUSE Manager Retail Branch Server 4.0 dovecot23 2.3.11.3-24.1 SUSE-SU-2021:2891-1, SUSE-SU-2021:2124-1
SUSE Manager Proxy 4.0 dovecot23 2.3.11.3-24.1 SUSE-SU-2021:2891-1, SUSE-SU-2021:2124-1
SUSE Enterprise Storage 6 dovecot23 2.3.11.3-24.1 SUSE-SU-2021:2891-1, SUSE-SU-2021:2124-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed dovecot23 2.3.16-1.6 openSUSE-SU-2024:10726-1
openSUSE Tumbleweed dovecot24 2.4.0-1.1 openSUSE-SU-2025:14715-1
openSUSE Leap 15.3 dovecot23 2.3.11.3-55.1 openSUSE-SU-2021:2892-1, openSUSE-SU-2021:2123-1
openSUSE Leap 15.2 dovecot23 2.3.11.3-lp152.2.9.1 openSUSE-SU-2021:1225-1, openSUSE-SU-2021:0920-1
ReleasePackageFixed inAdvisory
Alpine v3.24 dovecot 2.3.15-r0 —
Alpine v3.23 dovecot 2.3.15-r0 —
Alpine v3.22 dovecot 2.3.15-r0 —
Alpine v3.21 dovecot 2.3.15-r0 —
Alpine v3.20 dovecot 2.3.15-r0 —
Show 9 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 dovecot 2.3.15-r0 —
Alpine v3.18 dovecot 2.3.15-r0 —
Alpine v3.17 dovecot 2.3.15-r0 —
Alpine v3.16 dovecot 2.3.15-r0 —
Alpine v3.15 dovecot 2.3.15-r0 —
Alpine v3.14 dovecot 2.3.15-r0 —
Alpine v3.13 dovecot 2.3.15-r0 —
Alpine v3.12 dovecot 2.3.15-r0 —
Alpine v3.11 dovecot 2.3.15-r0 —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) dovecot 2.3.20-1 —

Advisories 13

References