CVE-2021-29157

NameCVE-2021-29157
DescriptionDovecot 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitylow
Debian Bugs990566

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
dovecot (PTS)stretch1:2.2.27-3+deb9u5fixed
stretch (security)1:2.2.27-3+deb9u7fixed
buster1:2.3.4.1-5+deb10u6fixed
buster (security)1:2.3.4.1-5+deb10u5fixed
bullseye1:2.3.13+dfsg1-2fixed
bookworm, sid1:2.3.16+dfsg1-3fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
dovecotsourcestretch(not affected)
dovecotsourcebuster(not affected)
dovecotsource(unstable)1:2.3.13+dfsg1-2990566

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

Search for package or bug name: Reporting problems