{"id":"ALPINE-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-09-15T08:17:46.645502668Z","published":"2021-06-28T12:15:08.647Z","upstream":["CVE-2021-29157"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2021-29157"}],"affected":[{"package":{"name":"dovecot","ecosystem":"Alpine:v3.11","purl":"pkg:apk/alpine/dovecot?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.11"},{"fixed":"2.3.15-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2021-29157.json"}},{"package":{"name":"dovecot","ecosystem":"Alpine:v3.12","purl":"pkg:apk/alpine/dovecot?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.11"},{"fixed":"2.3.15-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2021-29157.json"}},{"package":{"name":"dovecot","ecosystem":"Alpine:v3.13","purl":"pkg:apk/alpine/dovecot?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.11"},{"fixed":"2.3.15-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2021-29157.json"}},{"package":{"name":"dovecot","ecosystem":"Alpine:v3.14","purl":"pkg:apk/alpine/dovecot?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.11"},{"fixed":"2.3.15-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2021-29157.json"}},{"package":{"name":"dovecot","ecosystem":"Alpine:v3.15","purl":"pkg:apk/alpine/dovecot?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.11"},{"fixed":"2.3.15-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2021-29157.json"}},{"package":{"name":"dovecot","ecosystem":"Alpine:v3.16","purl":"pkg:apk/alpine/dovecot?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.11"},{"fixed":"2.3.15-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2021-29157.json"}},{"package":{"name":"dovecot","ecosystem":"Alpine:v3.17","purl":"pkg:apk/alpine/dovecot?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.11"},{"fixed":"2.3.15-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2021-29157.json"}},{"package":{"name":"dovecot","ecosystem":"Alpine:v3.18","purl":"pkg:apk/alpine/dovecot?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.11"},{"fixed":"2.3.15-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2021-29157.json"}},{"package":{"name":"dovecot","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/dovecot?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.11"},{"fixed":"2.3.15-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2021-29157.json"}},{"package":{"name":"dovecot","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/dovecot?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.11"},{"fixed":"2.3.15-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2021-29157.json"}},{"package":{"name":"dovecot","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/dovecot?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.11"},{"fixed":"2.3.15-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2021-29157.json"}},{"package":{"name":"dovecot","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/dovecot?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.11"},{"fixed":"2.3.15-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2021-29157.json"}},{"package":{"name":"dovecot","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/dovecot?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.11"},{"fixed":"2.3.15-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2021-29157.json"}},{"package":{"name":"dovecot","ecosystem":"Alpine:v3.24","purl":"pkg:apk/alpine/dovecot?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.11"},{"fixed":"2.3.15-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2021-29157.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}]}