Bug 21397 - libical new security issues CVE-2016-582[3-7] and CVE-2016-9584
Summary: libical new security issues CVE-2016-582[3-7] and CVE-2016-9584
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: Security (show other bugs)
Version: 6
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact: Sec team
URL:
Whiteboard: MGA5TOO MGA5-32-OK MGA6-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2017-07-29 16:45 CEST by David Walser
Modified: 2018-01-02 17:26 CET (History)
5 users (show)

See Also:
Source RPM: libical-1.0-4.mga5.src.rpm
CVE:
Status comment:


Attachments

Description David Walser 2017-07-29 16:45:33 CEST
openSUSE has issued an advisory on July 29:
https://lists.opensuse.org/opensuse-updates/2017-07/msg00108.html

These CVEs were originally posted to oss-security last year:
http://openwall.com/lists/oss-security/2016/06/25/4
http://openwall.com/lists/oss-security/2016/12/15/5

I'm not 100% sure if they've all been fixed in 2.0.0 (in Mageia 6).
Comment 1 Marja Van Waes 2017-07-29 22:16:07 CEST
Assigning to all packagers collectively, since there is no registered maintainer for this package.

CC: (none) => marja11
Assignee: bugsquad => pkg-bugs

Comment 2 David Walser 2017-12-29 00:10:48 CET
Indeed these fixes weren't in 2.0.0.  They were committed upstream later.

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

Updated libical packages fix security vulnerabilities:

libical 1.0 allows remote attackers to cause a denial of service
(use-after-free) via a crafted ics file (CVE-2016-5824).

The icaltime_from_string function in libical 0.47 and 1.0 allows remote
attackers to cause a denial of service (out-of-bounds heap read) via a crafted
string to the icalparser_parse_string function (CVE-2016-5827).

libical allows remote attackers to cause a denial of service (use-after-free)
and possibly read heap memory via a crafted ics file (CVE-2016-9584).

References:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-5824
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-5827
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-9584
https://lists.opensuse.org/opensuse-updates/2017-07/msg00108.html
========================

Updated packages in core/updates_testing:
========================
libical1-1.0-4.1.mga5
libicalss1-1.0-4.1.mga5
libicalvcal1-1.0-4.1.mga5
libical-devel-1.0-4.1.mga5
libical2-2.0.0-2.1.mga6
libicalss2-2.0.0-2.1.mga6
libicalvcal2-2.0.0-2.1.mga6
libical-devel-2.0.0-2.1.mga6

from SRPMS:
libical-1.0-4.1.mga5.src.rpm
libical-2.0.0-2.1.mga6.src.rpm

Version: 5 => 6
Assignee: pkg-bugs => qa-bugs
Whiteboard: (none) => MGA5TOO

Dave Hodgins 2017-12-31 13:54:35 CET

Keywords: (none) => advisory
CC: (none) => davidwhodgins

Comment 3 Herman Viaene 2018-01-02 11:19:10 CET
MGA5-32 on Dell Latitude D600 Xfce
No installation issues
# urpmq --whatrequires libical1
found a.o. orage
$ strace -o libical.txt orage 
** Message: Orage **: 11:11:26  wakeup timer init 0
** Message: Orage **: 11:11:27  Wekkerlijst gemaakt voor hoofdbestand van Orage:
** Message: Orage **: 11:11:27  	0 wekkers toegevoegd. 0 gebeurtenissen verwerkt.
** Message: Orage **: 11:11:27  	Gevonden 0 wekkers, waarvan 0 actief (Gezocht 0 herhalende wekkers).
** Message: Orage **: 11:12:08  NEW appointment: 20180102
** Message: Orage **: 11:13:05  Added: O00.Orage-20180102T101305Z0-1000@mach6.hviaene.thuis
** Message: Orage **: 11:13:26  Archiveren niet ingeschakeld. Aan het afsluiten
I created an event in orage and found a call to libical and libicalss in the trace file.
OK for me.

Whiteboard: MGA5TOO => MGA5TOO MGA5-32-OK
CC: (none) => herman.viaene

Comment 4 Lewis Smith 2018-01-02 15:40:53 CET
Testing M6/64

BEFORE update:
 lib64ical2-2.0.0-2.mga6
 lib64icalss2-2.0.0-2.mga6
 lib64icalvcal2-2.0.0-2.mga6.x86_64

Tried orage, minimal usage worked:
open("/lib64/libical.so.2", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libicalss.so.2", O_RDONLY|O_CLOEXEC) = 3

Tried Evolution, which worked for most things, calendar functions included; but not for e-mail.
 $ strace evolution 2>&1 | grep libical
open("/lib64/libical.so.2", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libicalvcal.so.2", O_RDONLY|O_CLOEXEC) = 17
Put this down to Evolution - it got its e-mail account knickers in a twist, even after un installation & re-installation

AFTER update:
 lib64ical2-2.0.0-2.1.mga6
 lib64icalss2-2.0.0-2.1.mga6
 lib64icalvcal2-2.0.0-2.1.mga6.x86_64

Orage worked OK (discovered how to add & play with an event).
Evolution calendar worked OK.
Tried AbiWord to insert a date in a document.
 $ strace abiword 2>&1 | grep libical
 open("/lib64/libical.so.2", O_RDONLY|O_CLOEXEC) = 3

Looks good for an OK. And in the circumstances, validation.

Whiteboard: MGA5TOO MGA5-32-OK => MGA5TOO MGA5-32-OK MGA6-64-OK
Keywords: (none) => validated_update
CC: (none) => lewyssmith, sysadmin-bugs

Comment 5 Mageia Robot 2018-01-02 17:26:26 CET
An update for this issue has been pushed to the Mageia Updates repository.

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

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


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