CVEfocus › CVE database › CVE-2021-29157

CVE-2021-29157

CVSS 7.5 HighEPSS 0.5% (higher than 33% of CVEs)Published 2021-06-28Updated 2024-08-03Assigner: mitre

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.

What to do

Fixed builds are available from Alpine, Debian: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

17Fixed
1Fix pending
5Will not fix
17Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 20.04dovecotNot affected
vulnerable_code_not_present
Ubuntu 18.04dovecotNot affected
vulnerable_code_not_present
Ubuntu 16.04dovecotFix pending
Debian 14dovecotFixed1:2.3.13+dfsg1-2DEBIAN-CVE-2021-29157
Debian 13dovecotFixed1:2.3.13+dfsg1-2DEBIAN-CVE-2021-29157
Debian 12dovecotFixed1:2.3.13+dfsg1-2DEBIAN-CVE-2021-29157
Red Hat Enterprise Linux 9dovecotNot affected
Red Hat Enterprise Linux 9dovecot-develNot affected
Red Hat Enterprise Linux 9dovecot-mysqlNot affected
Red Hat Enterprise Linux 9dovecot-pgsqlNot affected
Red Hat Enterprise Linux 9dovecot-pigeonholeNot affected
Red Hat Enterprise Linux 8dovecotNot affected
Red Hat Enterprise Linux 8dovecot-develNot affected
Red Hat Enterprise Linux 8dovecot-mysqlNot affected
Red Hat Enterprise Linux 8dovecot-pgsqlNot affected
Red Hat Enterprise Linux 8dovecot-pigeonholeNot affected
Red Hat Enterprise Linux 7dovecotNot affected
Red Hat Enterprise Linux 7dovecot-develNot affected
Red Hat Enterprise Linux 7dovecot-mysqlNot affected
Red Hat Enterprise Linux 7dovecot-pgsqlNot affected
Red Hat Enterprise Linux 7dovecot-pigeonholeNot affected
Red Hat Enterprise Linux 6dovecotWill not fix
Out of support scope
Red Hat Enterprise Linux 6dovecot-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6dovecot-mysqlWill not fix
Out of support scope
Red Hat Enterprise Linux 6dovecot-pgsqlWill not fix
Out of support scope
Red Hat Enterprise Linux 6dovecot-pigeonholeWill not fix
Out of support scope
Alpine Linux 3.24dovecotFixed2.3.15-r0ALPINE-CVE-2021-29157
Alpine Linux 3.23dovecotFixed2.3.15-r0ALPINE-CVE-2021-29157
Alpine Linux 3.22dovecotFixed2.3.15-r0ALPINE-CVE-2021-29157
Alpine Linux 3.21dovecotFixed2.3.15-r0ALPINE-CVE-2021-29157
Alpine Linux 3.20dovecotFixed2.3.15-r0ALPINE-CVE-2021-29157
Alpine Linux 3.19dovecotFixed2.3.15-r0ALPINE-CVE-2021-29157
Alpine Linux 3.18dovecotFixed2.3.15-r0ALPINE-CVE-2021-29157
Alpine Linux 3.17dovecotFixed2.3.15-r0ALPINE-CVE-2021-29157
Alpine Linux 3.16dovecotFixed2.3.15-r0ALPINE-CVE-2021-29157
Alpine Linux 3.15dovecotFixed2.3.15-r0ALPINE-CVE-2021-29157
Alpine Linux 3.14dovecotFixed2.3.15-r0ALPINE-CVE-2021-29157
Alpine Linux 3.13dovecotFixed2.3.15-r0ALPINE-CVE-2021-29157
Alpine Linux 3.12dovecotFixed2.3.15-r0ALPINE-CVE-2021-29157
Alpine Linux 3.11dovecotFixed2.3.15-r0ALPINE-CVE-2021-29157

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.