Bug 22880 - graphite2 new security issue CVE-2018-7999
Summary: graphite2 new security issue CVE-2018-7999
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: 2018-04-08 02:33 CEST by David Walser
Modified: 2018-05-16 10:26 CEST (History)
4 users (show)

See Also:
Source RPM: graphite2-1.3.10-1.mga6.src.rpm
CVE:
Status comment:


Attachments

Description David Walser 2018-04-08 02:33:38 CEST
openSUSE has issued an advisory on April 6:
https://lists.opensuse.org/opensuse-updates/2018-04/msg00002.html

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

Whiteboard: (none) => MGA6TOO, MGA5TOO

Comment 1 Marja Van Waes 2018-04-08 12:09:38 CEST
Assigning to the registered maintainer.

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

Comment 2 David Walser 2018-05-04 05:46:57 CEST
Patched packages uploaded for Mageia 5, Mageia 6, and Cauldron.

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

Updated graphite2 packages fix security vulnerability:

NULL pointer dereference vulnerability in Segment.cpp that may cause a denial
of service (CVE-2018-7999).

References:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-7999
https://lists.opensuse.org/opensuse-updates/2018-04/msg00002.html
========================

Updated packages in core/updates_testing:
========================
graphite2-1.3.10-1.1.mga5
libgraphite2_3-1.3.10-1.1.mga5
libgraphite2-devel-1.3.10-1.1.mga5
graphite2-1.3.10-1.1.mga6
libgraphite2_3-1.3.10-1.1.mga6
libgraphite2-devel-1.3.10-1.1.mga6

from SRPMS:
graphite2-1.3.10-1.1.mga5.src.rpm
graphite2-1.3.10-1.1.mga6.src.rpm

Whiteboard: MGA6TOO, MGA5TOO => MGA5TOO
Version: Cauldron => 6
Assignee: mageia => qa-bugs

Comment 3 Herman Viaene 2018-05-07 15:42:36 CEST
MGA5-32 on Dell Latitude D600 Xfce
No installation issues.
Followed bug 20778 Comment 7 for tests
On http://scripts.sil.org/cms/scripts/page.php?site_id=projects&item_id=graphite_fontdemo#graphic , the demo page:
Installed Padauk, characters seems OK, but washwe option is n otset (no idea how to do this).Awami font does not correspond at all with screenshot - well, it is arabic style, but that's all I can make of.
Installed the Libertine fonts and could use these in LibreOffice.
OK as far as my knowledge goes.

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

Comment 4 Len Lawrence 2018-05-10 00:12:33 CEST
Mageia 6, x86_64

CVE-2018-7999
PoC at https://github.com/silnrsi/graphite/issues/22
$ gr2fonttest poc-libgraphite2-segment-null-pointer-dereference.ttf -rtl -j 30 -cache -codes 1000
Text codes
1000	
Segmentation fault (core dumped)

Downloaded padauk font as a zip file.  Unzipped it and installed the TTF versions rather than WOFF, using drakfont.
$ ls documentation
DOCUMENTATION.txt    Padauk-features.pdf    Padauk-typesample.pdf
Padauk-features.odt  Padauk-typesample.odt
Moved to the documentation directory and opened the PDFs in xpdf - no problem.  LibreOffice displayed the ODT files and rendered the Padauk script OK.

On the http://scripts.sil.org/ fontdemo website the locally installed font sample matched the server sample exactly.  I would agree with Herman that the comparison samples for Awami Nastaliq are not the same but there are substrings which do match exactly.

Downloaded and installed the Libertine and Biolinum fonts and checked that LibreOffice could use them.

Updated the packages and ran the PoC.
$  gr2fonttest poc-libgraphite2-segment-null-pointer-dereference.ttf -rtl -j 30 -cache -codes 1000
Text codes
1000	
Invalid font, failed to read or parse tables

No segfault this time.

Repeated the tests outlined above.  All tests passed.

CC: (none) => tarazed25
Whiteboard: MGA5TOO MGA5-32-OK => MGA5TOO MGA5-32-OK MGA6-64-OK

Len Lawrence 2018-05-12 18:53:59 CEST

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

Lewis Smith 2018-05-13 21:39:07 CEST

Keywords: (none) => advisory

Comment 5 Mageia Robot 2018-05-16 10:26:24 CEST
An update for this issue has been pushed to the Mageia Updates repository.

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

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


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