Bug 27242 - geary new security issue CVE-2020-24661
Summary: geary new security issue CVE-2020-24661
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: Security (show other bugs)
Version: 7
Hardware: All Linux
Priority: Normal major
Target Milestone: ---
Assignee: QA Team
QA Contact: Sec team
URL:
Whiteboard: MGA7-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2020-09-03 23:32 CEST by David Walser
Modified: 2020-10-21 15:09 CEST (History)
4 users (show)

See Also:
Source RPM: geary-3.32.1-1.mga7.src.rpm
CVE: CVE-2020-24661
Status comment:


Attachments

Description David Walser 2020-09-03 23:32:39 CEST
Fedora has issued an advisory today (September 3):
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/NS6CSTOBVO5HSAR3X5CT6DS6QDHXDB26/

The issue is fixed upstream in 3.36.3.1.
Comment 1 Aurelien Oudelet 2020-09-04 09:53:12 CEST
Hi, thanks for reporting this bug.
As there is no maintainer for this package I added the committers in CC.

(Packager: Please set the status to 'assigned' if you are working on it)

CC: (none) => olav
Keywords: (none) => Triaged
Assignee: bugsquad => pkg-bugs

Comment 2 Nicolas Salguero 2020-10-20 16:56:16 CEST
Suggested advisory:
========================

The updated package fixes a security vulnerability:

GNOME Geary before 3.36.3 mishandles pinned TLS certificate verification for IMAP and SMTP services using invalid TLS certificates (e.g., self-signed certificates) when the client system is not configured to use a system-provided PKCS#11 store. This allows a meddler in the middle to present a different invalid certificate to intercept incoming and outgoing mail. (CVE-2020-24661)

References:
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-24661
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/NS6CSTOBVO5HSAR3X5CT6DS6QDHXDB26/
========================

Updated package in core/updates_testing:
========================
geary-3.32.1-1.1.mga7

from SRPM:
geary-3.32.1-1.1.mga7.src.rpm

CVE: (none) => CVE-2020-24661
CC: (none) => nicolas.salguero
Assignee: pkg-bugs => qa-bugs
Keywords: Triaged => (none)
Status: NEW => ASSIGNED

Comment 3 Aurelien Oudelet 2020-10-21 11:52:36 CEST
Testing on M7-GNOME x86_64
Geary-3.32.1-1.mga7 installed.
ssl/imap and ssl/smtp set via free.fr provider. Connection OK.

Before installing pending update to geary in updates_testing,
According to https://gitlab.gnome.org/GNOME/geary/-/issues/866:

If there is no read-write PKCS#11 store accessible by GCR (e.g, gnome-keyring-daemon is not installed, the gnome-keyring user PKCS#11 store is not installed or enabled, or gnome-keyring has dropped support for it, again), and an exception for an invalid TLS certificate has previously been allowed by the user for a specific server identity (e.g. the host name/IP address configured for the service), then subsequent connections to the same server identity will be accepted without comparing the certificate presented by the server with the certificate that was originally presented and pinned.

Environment must be set to not have gnome-keyring installed.
By default, Mageia 7 ships gnome-keyring. This is mitigated.

Testing PoC must break GNOME session :
# urpme gnome-keyring
This wants to uninstall all gnome-session stuff, even mate if installed.

Installing pending update does not break functionality.
Set flag OK.

CC: (none) => ouaurelien, sysadmin-bugs
Keywords: (none) => validated_update
Whiteboard: (none) => MGA7-64-OK

Comment 4 Aurelien Oudelet 2020-10-21 11:55:07 CEST
Advisory and packages in Comment 2.
Advisory pushed to svn.
Aurelien Oudelet 2020-10-21 11:58:30 CEST

Keywords: (none) => advisory

Comment 5 Mageia Robot 2020-10-21 15:09:06 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGASA-2020-0390.html

Status: ASSIGNED => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.