Bug 22823 - Thunderbird 52.7
Summary: Thunderbird 52.7
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: Security (show other bugs)
Version: 6
Hardware: All Linux
Priority: Normal critical
Target Milestone: ---
Assignee: QA Team
QA Contact: Sec team
URL:
Whiteboard: MGA6-64-OK
Keywords: advisory, has_procedure, validated_update
Depends on:
Blocks: 22903
  Show dependency treegraph
 
Reported: 2018-03-24 11:19 CET by David Walser
Modified: 2018-04-15 15:34 CEST (History)
10 users (show)

See Also:
Source RPM: thunderbird
CVE:
Status comment:


Attachments

Description David Walser 2018-03-24 11:19:23 CET
Mozilla has released Thunderbird 52.7 on March 23:
https://www.mozilla.org/en-US/thunderbird/52.7.0/releasenotes/

The issues fixed are listed here:
https://www.mozilla.org/en-US/security/advisories/mfsa2018-09/
David Walser 2018-03-24 11:19:53 CET

Whiteboard: (none) => MGA6TOO, MGA5TOO
CC: (none) => doktor5000, nicolas.salguero

Comment 1 Marja Van Waes 2018-03-25 17:50:36 CEST
Assigning to the registered maintainer.

CC: (none) => marja11
Assignee: bugsquad => doktor5000

Comment 2 Marc Krämer 2018-03-26 13:50:23 CEST
since this bugs are made public, it would be good to have an update available.

CC: (none) => mageia

Comment 3 David Walser 2018-03-31 18:48:14 CEST
Fedora has issued an advisory for this on March 30:
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/7RKPH5GE64BU7F34ECBMYH7D6SJ36YZY/

CC: (none) => mrambo

Comment 4 David Walser 2018-04-06 15:16:25 CEST
RedHat has issued an advisory for this on April 5:
https://access.redhat.com/errata/RHSA-2018:0648
Comment 5 Mike Rambo 2018-04-12 13:48:05 CEST
52.7.0 building for cauldron. mga5 and 6 will follow.

Assignee: doktor5000 => mrambo

Comment 6 Mike Rambo 2018-04-12 22:14:46 CEST
52.7.0 built for cauldron ok. mga6 failed with "virtual memory exhausted: Operation not permitted". David said this is a known BS problem that was fixed for cauldron but apparently not for mga5/6. Noting the problem so others don't waste their time. I have the updates and will push them when the BS is fixed.
Comment 7 Thomas Backlund 2018-04-13 10:31:14 CEST
It's not a buildsystem issue.
Its firefox/thunderbird build that wants more memory than a 32bit arch can provide for a process...

I fixed firefox build for mga6 by syncing theese bits from Cauldron:
--- firefox.spec        2018-04-13 11:24:02.702645518 +0300
+++ firefox.spec.new    2018-04-13 10:59:26.432716546 +0300
@@ -293,6 +302,14 @@
 # See also https://fedoraproject.org/wiki/Changes/Harden_All_Packages
 MOZ_OPT_FLAGS="$MOZ_OPT_FLAGS -Wformat-security -Wformat -Werror=format-security"
 MOZ_OPT_FLAGS="$MOZ_OPT_FLAGS -fPIC -Wl,-z,relro -Wl,-z,now"
+%ifnarch x86_64
+MOZ_OPT_FLAGS=$(echo "$MOZ_OPT_FLAGS" | %{__sed} -e 's/-g/-g1/')
+# If MOZ_DEBUG_FLAGS is empty, firefox's build will default it to "-g" which
+# overrides the -g1 from line above and breaks building on s390
+# (OOM when linking, rhbz#1238225)
+export MOZ_DEBUG_FLAGS=" "
+%endif
+
 %ifarch %{arm}
 MOZ_LINK_FLAGS="-Wl,--no-keep-memory -Wl,--reduce-memory-overheads"
 %endif
@@ -310,7 +327,9 @@
 %ifarch %{ix86} x86_64 ppc ppc64 ppc64le aarch64
 [ -z "$RPM_BUILD_NCPUS" ] && \
      RPM_BUILD_NCPUS="`/usr/bin/getconf _NPROCESSORS_ONLN`"
-MOZ_SMP_FLAGS=-j$RPM_BUILD_NCPUS
+[ "$RPM_BUILD_NCPUS" -ge 2 ] && MOZ_SMP_FLAGS=-j2
+[ "$RPM_BUILD_NCPUS" -ge 4 ] && MOZ_SMP_FLAGS=-j4
+[ "$RPM_BUILD_NCPUS" -ge 8 ] && MOZ_SMP_FLAGS=-j8
 %endif

 make -f client.mk build STRIP="/bin/true" MOZ_MAKE_FLAGS="$MOZ_SMP_FLAGS" MOZ_SERVICES_SYNC="1"

CC: (none) => tmb

Comment 8 Mike Rambo 2018-04-13 14:38:07 CEST
Hmm, I don't see anything resembling this in the thunderbird spec. The cauldron spec is identical to the mga6 spec aside from about three lines having to do with a gtk2 vs gtk3 conditional. The SOURCES, particularly the patches, look the same too. And this is strange because cauldron built i586 (and armv7 for that matter) ok while mga6 did not. Just for grins I looked at the centos 6.9 i386 src rpm to see if they did anything special to build 52.7.0 for 32 bit. If they did, it was not anything I was able to recognize.

I'll keep looking but this might call for a Jedi master.
Comment 9 Thomas Backlund 2018-04-13 21:21:28 CEST
Thunderbird built for mga6.

as firefox still fails on mga5, I didn't waste any time trying to push this either as mga5 is way over eol...
Comment 10 Mike Rambo 2018-04-13 21:59:14 CEST
Thank you Thomas!

Updated package uploaded for cauldron and Mageia 6.

Advisory:
========================

Updated thunderbird package fixes bugs and security vulnerabilities:

* A buffer overflow can occur when manipulating the SVG animatedPathSegList through script. This results in a potentially exploitable crash (CVE-2018-5127).
* A lack of parameter validation on IPC messages results in a potential out-of-bounds write through malformed IPC messages. This can potentially allow for sandbox escape through memory corruption in the parent process (CVE-2018-5129).
* An integer overflow can occur during conversion of text to some Unicode character sets due to an unchecked length parameter (CVE-2018-5144).
*An out of bounds memory write while processing Vorbis audio data was reported through the Pwn2Own contest (CVE-2018-5146).
* Mozilla developers and community members reported memory safety bugs present in Firefox 58, Firefox ESR 52.6, and Thunderbird 52.6. Some of these bugs showed evidence of memory corruption and we presume that with enough effort that some of these could be exploited to run arbitrary code (CVE-2018-5125).
* Mozilla developers reported memory safety bugs present in Firefox ESR 52.6 and Thunderbird 52.6. These bugs showed evidence of memory corruption and we presume that with enough effort that some of these could be exploited to run arbitrary code (CVE-2018-5145).

References:
https://www.mozilla.org/en-US/security/advisories/mfsa2018-09/
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-5125
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-5127
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-5129
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-5144
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-5145
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-5146
========================

Updated packages in core/updates_testing:
========================
thunderbird-52.7.0-1.mga6
thunderbird-enigmail-52.7.0-1.mga6

from thunderbird-52.7.0-1.mga6.src.rpm

thunderbird-ar-52.7.0-1.mga6.noarch.rpm
thunderbird-ast-52.7.0-1.mga6.noarch.rpm
thunderbird-be-52.7.0-1.mga6.noarch.rpm
thunderbird-bg-52.7.0-1.mga6.noarch.rpm
thunderbird-bn_BD-52.7.0-1.mga6.noarch.rpm
thunderbird-br-52.7.0-1.mga6.noarch.rpm
thunderbird-ca-52.7.0-1.mga6.noarch.rpm
thunderbird-cs-52.7.0-1.mga6.noarch.rpm
thunderbird-cy-52.7.0-1.mga6.noarch.rpm
thunderbird-da-52.7.0-1.mga6.noarch.rpm
thunderbird-de-52.7.0-1.mga6.noarch.rpm
thunderbird-el-52.7.0-1.mga6.noarch.rpm
thunderbird-en_GB-52.7.0-1.mga6.noarch.rpm
thunderbird-en_US-52.7.0-1.mga6.noarch.rpm
thunderbird-es_AR-52.7.0-1.mga6.noarch.rpm
thunderbird-es_ES-52.7.0-1.mga6.noarch.rpm
thunderbird-et-52.7.0-1.mga6.noarch.rpm
thunderbird-eu-52.7.0-1.mga6.noarch.rpm
thunderbird-fi-52.7.0-1.mga6.noarch.rpm
thunderbird-fr-52.7.0-1.mga6.noarch.rpm
thunderbird-fy_NL-52.7.0-1.mga6.noarch.rpm
thunderbird-ga_IE-52.7.0-1.mga6.noarch.rpm
thunderbird-gd-52.7.0-1.mga6.noarch.rpm
thunderbird-gl-52.7.0-1.mga6.noarch.rpm
thunderbird-he-52.7.0-1.mga6.noarch.rpm
thunderbird-hr-52.7.0-1.mga6.noarch.rpm
thunderbird-hsb-52.7.0-1.mga6.noarch.rpm
thunderbird-hu-52.7.0-1.mga6.noarch.rpm
thunderbird-hy_AM-52.7.0-1.mga6.noarch.rpm
thunderbird-id-52.7.0-1.mga6.noarch.rpm
thunderbird-is-52.7.0-1.mga6.noarch.rpm
thunderbird-it-52.7.0-1.mga6.noarch.rpm
thunderbird-ja-52.7.0-1.mga6.noarch.rpm
thunderbird-ko-52.7.0-1.mga6.noarch.rpm
thunderbird-lt-52.7.0-1.mga6.noarch.rpm
thunderbird-nb_NO-52.7.0-1.mga6.noarch.rpm
thunderbird-nl-52.7.0-1.mga6.noarch.rpm
thunderbird-nn_NO-52.7.0-1.mga6.noarch.rpm
thunderbird-pa_IN-52.7.0-1.mga6.noarch.rpm
thunderbird-pl-52.7.0-1.mga6.noarch.rpm
thunderbird-pt_BR-52.7.0-1.mga6.noarch.rpm
thunderbird-pt_PT-52.7.0-1.mga6.noarch.rpm
thunderbird-ro-52.7.0-1.mga6.noarch.rpm
thunderbird-ru-52.7.0-1.mga6.noarch.rpm
thunderbird-si-52.7.0-1.mga6.noarch.rpm
thunderbird-sk-52.7.0-1.mga6.noarch.rpm
thunderbird-sl-52.7.0-1.mga6.noarch.rpm
thunderbird-sq-52.7.0-1.mga6.noarch.rpm
thunderbird-sv_SE-52.7.0-1.mga6.noarch.rpm
thunderbird-ta_LK-52.7.0-1.mga6.noarch.rpm
thunderbird-tr-52.7.0-1.mga6.noarch.rpm
thunderbird-uk-52.7.0-1.mga6.noarch.rpm
thunderbird-vi-52.7.0-1.mga6.noarch.rpm
thunderbird-zh_CN-52.7.0-1.mga6.noarch.rpm
thunderbird-zh_TW-52.7.0-1.mga6.noarch.rpm

from thunderbird-l10n-52.7.0-1.mga6.src.rpm

Assignee: mrambo => qa-bugs
Whiteboard: MGA6TOO, MGA5TOO => (none)
Version: Cauldron => 6

David Walser 2018-04-14 02:18:28 CEST

Blocks: (none) => 22903

Comment 11 Bill Wilkinson 2018-04-14 05:08:04 CEST
Tested mga6-64

Send/receive/move/delete all ok on IMAP/SMTP. Lightning calendar loads normally.

Whiteboard: (none) => has_procedure mga6-64-ok
CC: (none) => wrw105

David Walser 2018-04-14 05:09:48 CEST

Keywords: (none) => has_procedure
Whiteboard: has_procedure mga6-64-ok => MGA6-64-OK

Comment 12 Len Lawrence 2018-04-14 11:36:00 CEST
Mageia 6, x86_64

Updated thunderbird with en_GB language pack.  Works fine for imap Google mail and cross-linking to firefox.

CC: (none) => tarazed25

Comment 13 Dave Hodgins 2018-04-15 03:04:15 CEST
Advisory committed to svn. Validating the update.

Keywords: (none) => advisory, validated_update
CC: (none) => davidwhodgins, sysadmin-bugs

Comment 14 Mageia Robot 2018-04-15 15:34:42 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGASA-2018-0203.html

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


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