CVE-2021-29157

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.
NVD Severity
medium
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
MISC https://dovecot.org/security
CONFIRM https://www.openwall.com/lists/oss-security/2021/06/28/1
Mailing List https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TK424DWFO2TKJYXZ2H3XL633TYJL4GQN/
Mailing List https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JB2VTJ3G2ILYWH5Y2FTY2PUHT2MD6VMI/
Third Party Advisory https://security.gentoo.org/glsa/202107-41

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:dovecot:dovecot:*:*:*:*:*:*:*:* dovecot >= 2.3.11 < 2.3.15
cpe:2.3:a:dovecot:dovecot:*:*:*:*:*:*:*:* dovecot >= 2.3.11 < 2.3.14.1

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
dovecot 3.14-main 2.3.15-r0 Natanael Copa <ncopa@alpinelinux.org> fixed
dovecot 3.13-main 2.3.15-r0 Natanael Copa <ncopa@alpinelinux.org> fixed
dovecot 3.12-main 2.3.15-r0 Natanael Copa <ncopa@alpinelinux.org> fixed
dovecot 3.11-main 2.3.15-r0 Natanael Copa <ncopa@alpinelinux.org> fixed