| Name | CVE-2021-29157 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| Debian Bugs | 990566 |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|
| dovecot (PTS) | bullseye | 1:2.3.13+dfsg1-2+deb11u1 | fixed |
| bullseye (security) | 1:2.3.13+dfsg1-2+deb11u2 | fixed |
| bookworm, bookworm (security) | 1:2.3.19.1+dfsg1-2.1+deb12u1 | fixed |
| trixie | 1:2.4.1+dfsg1-6 | fixed |
| trixie (security) | 1:2.4.1+dfsg1-6+deb13u1 | fixed |
| forky, sid | 1:2.4.1+dfsg1-9 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|
| dovecot | source | stretch | (not affected) | | | |
| dovecot | source | buster | (not affected) | | | |
| dovecot | source | (unstable) | 1:2.3.13+dfsg1-2 | | | 990566 |
Notes
[buster] - dovecot <not-affected> (Vulnerable code introduced later)
[stretch] - dovecot <not-affected> (Vulnerable code introduced later)
https://dovecot.org/pipermail/dovecot-news/2021-June/000461.html
https://www.openwall.com/lists/oss-security/2021/06/28/1