Bug 22879 - spice-gtk new security issue CVE-2017-12194
Summary: spice-gtk new security issue CVE-2017-12194
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: All Packagers
QA Contact: Sec team
URL:
Whiteboard:
Keywords:
Depends on: 23466
Blocks:
  Show dependency treegraph
 
Reported: 2018-04-08 02:32 CEST by David Walser
Modified: 2019-02-22 13:52 CET (History)
4 users (show)

See Also:
Source RPM: spice-gtk-0.33-3.mga6.src.rpm
CVE: CVE-2017-12194
Status comment: Patch available from openSUSE


Attachments

Description David Walser 2018-04-08 02:32:34 CEST
openSUSE has issued an advisory today (April 7):
https://lists.opensuse.org/opensuse-updates/2018-04/msg00011.html

Mageia 5 and Mageia 6 are also affected.
David Walser 2018-04-08 02:32:42 CEST

Whiteboard: (none) => MGA6TOO

Comment 1 Marja Van Waes 2018-04-08 12:08:42 CEST
Assigning to all packagers collectively, since there is no registered maintainer for this package.

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

David Walser 2018-05-04 08:30:57 CEST

Status comment: (none) => Patch available from openSUSE

Comment 2 David Walser 2018-06-08 22:26:21 CEST
Ubuntu has issued an advisory for this on May 23:
https://usn.ubuntu.com/3659-1/
David Walser 2018-09-04 20:10:35 CEST

See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=23466

Comment 3 Bruno Cornec 2018-10-28 02:30:17 CET
I used patches from Red Hat (https://bugzilla.redhat.com/show_bug.cgi?id=1240165) to update spice-gtk-0.35-3.mga7

Assignee: pkg-bugs => bruno
Status: NEW => ASSIGNED
CC: (none) => bruno

David Walser 2018-10-29 01:58:03 CET

Whiteboard: MGA6TOO => (none)
Version: Cauldron => 6

Comment 4 Bruno Cornec 2018-10-29 18:07:38 CET
For mga6 patches do not apply on our current version 0.33. So I suggest that we move to the same version as cauldron, which also means updating spice-protocol if that doesn't create too many issues.
Ulrich Beckmann 2018-10-29 21:22:52 CET

CC: (none) => bequimao.de

David Walser 2019-01-01 05:34:39 CET

Depends on: (none) => 23466

Comment 5 Nicolas Salguero 2019-02-14 13:28:12 CET
I add advisory for bug 23466 too:

Suggested advisory:
========================

The updated packages fix a security vulnerability:

A flaw was found in the way spice-client processed certain messages sent from the server. An attacker, having control of malicious spice-server, could use this flaw to crash the client or execute arbitrary code with permissions of the user running the client. spice-gtk versions through 0.34 are believed to be vulnerable. (CVE-2017-12194)

A vulnerability was discovered in SPICE before version 0.14.1 where the generated code used for demarshalling messages lacked sufficient bounds checks. A malicious client or server, after authentication, could send specially crafted messages to its peer which would result in a crash or, potentially, other impacts. (CVE-2018-10873)

Multiple integer overflow and buffer overflow issues were discovered in spice-client's handling of LZ compressed frames. A malicious server could cause the client to crash or, potentially, execute arbitrary code. (CVE-2018-10893)

References:
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-12194
https://lists.opensuse.org/opensuse-updates/2018-04/msg00011.html
https://usn.ubuntu.com/3659-1/
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-10873
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-10893
http://openwall.com/lists/oss-security/2018/08/17/1
https://lists.opensuse.org/opensuse-updates/2018-09/msg00007.html
https://lists.opensuse.org/opensuse-updates/2018-09/msg00010.html

Updated packages in core/updates_testing:
========================
spice-gtk-0.33-3.1.mga6
lib(64)spice-client-glib2.0_8-0.33-3.1.mga6
lib(64)spice-client-glib-gir2.0-0.33-3.1.mga6
lib(64)spice-client-gtk3.0_5-0.33-3.1.mga6
lib(64)spice-client-gtk-gir3.0-0.33-3.1.mga6
lib(64)spice-controller0-0.33-3.1.mga6
lib(64)spice-gtk-devel-0.33-3.1.mga6

from SRPMS:
spice-gtk-0.33-3.1.mga6.src.rpm

Assignee: bruno => qa-bugs
Source RPM: spice-gtk-0.34-2.mga7.src.rpm => spice-gtk-0.33-3.mga6.src.rpm
CC: (none) => nicolas.salguero
CVE: (none) => CVE-2017-12194, CVE-2018-10873, CVE-2018-10893

Nicolas Salguero 2019-02-14 13:29:28 CET

Severity: normal => critical

Comment 6 David Walser 2019-02-14 13:52:19 CET
Can't assign two bugs to QA for the same package, QA bug should generally be the newer (blocking) bug, which is Bug 23466 for spice-gtk and Bug 24257 for spice.

Assignee: qa-bugs => pkg-bugs
CVE: CVE-2017-12194, CVE-2018-10873, CVE-2018-10893 => CVE-2017-12194

Comment 7 David Walser 2019-02-22 13:52:34 CET
Fixed in:
https://advisories.mageia.org/MGASA-2019-0099.html

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


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