CVE-2021-29157
dovecot: local attacker can login as any user and access their emails
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · June 21, 2021
Updated · November 22, 2025
Description
A flaw was found in dovecot where it did not properly parse the kid and azp fields in JWT tokens. This flaw allows a local attacker to bypass dovecot's authentication, and access a user's emails. The highest threat from this vulnerability is to confidentiality and integrity.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 6.3CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
CWE-20 · Improper Input Validation