Bug 1979833

Summary: CVE-2021-29157 dovecot: local attacker can login as any user and access their emails [rhel-9]
Product: Red Hat Enterprise Linux 9 Reporter: Michal Hlavinka <mhlavink>
Component: dovecotAssignee: Michal Hlavinka <mhlavink>
Status: CLOSED CURRENTRELEASE QA Contact: Evgeny Fedin <efedin>
Severity: medium Docs Contact:
Priority: medium    
Version: 9.0CC: anon.amish, bennie.joubert, cbuissar, efedin, extras-qa, fweimer, gsuckevi, janfrode, mhlavink
Target Milestone: betaKeywords: Rebase, Security, SecurityTracking, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: dovecot-2.3.15-1.el9 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: 1974392 Environment:
Last Closed: 2021-12-07 21:52:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1974392    
Bug Blocks: 1973609    
Deadline: 2022-06-21   

Description Michal Hlavinka 2021-07-07 08:32:29 UTC
+++ This bug was initially created as a clone of Bug #1974392 +++


This is an automatically created tracking bug!  It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.

For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.

For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs

When submitting as an update, use the fedpkg template provided in the next
comment(s).  This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.

Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.

NOTE: this issue affects multiple supported versions of Fedora. While only
one tracking bug has been filed, please correct all affected versions at
the same time.  If you need to fix the versions independent of each other,
you may clone this bug as appropriate.

Comment 1 Michal Hlavinka 2021-07-08 17:24:24 UTC
*** Bug 1980008 has been marked as a duplicate of this bug. ***

Comment 8 Florian Weimer 2021-07-29 14:55:35 UTC
The rebase to dovecot 2.3.15 broke the imaptest build, see bug 1987425.

Comment 9 Michal Hlavinka 2021-07-29 20:31:51 UTC
Dovecot uses so name versioning, but they do not bump version with every minor change. Imaptest is unfortunately extremely sensitive. That's why it should have dependency on exact dovecot version and not just sonames.