{"id":"CVE-2021-29157","details":"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.","modified":"2026-04-09T07:40:49.930371Z","published":"2021-06-28T12:15:08.647Z","related":["MGASA-2021-0557","SUSE-SU-2021:2122-1","SUSE-SU-2021:2123-1","SUSE-SU-2021:2124-1","SUSE-SU-2021:2890-1","SUSE-SU-2021:2891-1","SUSE-SU-2021:2892-1","openSUSE-SU-2021:0920-1","openSUSE-SU-2021:1225-1","openSUSE-SU-2021:2123-1","openSUSE-SU-2021:2892-1","openSUSE-SU-2024:10726-1","openSUSE-SU-2025:14715-1"],"references":[{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JB2VTJ3G2ILYWH5Y2FTY2PUHT2MD6VMI/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TK424DWFO2TKJYXZ2H3XL633TYJL4GQN/"},{"type":"ADVISORY","url":"https://dovecot.org/security"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202107-41"},{"type":"ADVISORY","url":"https://www.openwall.com/lists/oss-security/2021/06/28/1"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/dovecot/core","events":[{"introduced":"0"},{"fixed":"9f0cfb6426ad9384f24dab0e6d33806b7f2a2eaf"}],"database_specific":{"versions":[{"introduced":"2.3.11"},{"fixed":"2.3.14.1"}]}}],"versions":["1.1.alpha1","1.1.alpha2","1.1.alpha4","1.1.alpha5","1.1.alpha6","1.1.beta1","1.1.beta10","1.1.beta11","1.1.beta12","1.1.beta13","1.1.beta14","1.1.beta16","1.1.beta2","1.1.beta3","1.1.beta4","1.1.beta5","1.1.beta6","1.1.beta8","1.1.beta9","1.1.rc1","1.1.rc2","1.1.rc3","1.2.alpha1","1.2.alpha2","1.2.alpha3","1.2.alpha4","1.2.alpha5","1.2.beta1","1.2.beta2","1.2.beta3","1.2.beta4","1.2.rc1","2.0.0","2.0.1","2.0.2","2.0.3","2.0.4","2.0.5","2.0.6","2.0.7","2.0.8","2.0.alpha1","2.0.alpha2","2.0.alpha3","2.0.beta1","2.0.beta2","2.0.beta3","2.0.beta4","2.0.beta5","2.0.beta6","2.0.rc1","2.0.rc2","2.0.rc3","2.0.rc4","2.0.rc5","2.0.rc6","2.1.alpha1","2.1.alpha2","2.1.beta1","2.1.rc1","2.1.rc2","2.1.rc3","2.1.rc4","2.1.rc5","2.1.rc6","2.2.0","2.2.1","2.2.10","2.2.11","2.2.12","2.2.13","2.2.13.rc1","2.2.14","2.2.14.rc1","2.2.15","2.2.16","2.2.16.rc1","2.2.17","2.2.17.rc1","2.2.17.rc2","2.2.18","2.2.19","2.2.19.rc1","2.2.19.rc2","2.2.2","2.2.20","2.2.20.rc1","2.2.3","2.2.4","2.2.5","2.2.6","2.2.7","2.2.8","2.2.9","2.2.alpha1","2.2.beta1","2.2.beta2","2.2.rc1","2.2.rc2","2.2.rc3","2.2.rc4","2.2.rc5","2.2.rc6","2.2.rc7","2.3.14","2.3.14.rc1"],"database_specific":{"unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"33"}]},{"events":[{"introduced":"0"},{"last_affected":"34"}]}],"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-29157.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}]}