Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 617474 (CVE-2017-7475) - x11-libs/cairo: NULL pointer dereference with a crafted font file (CVE-2017-7475)
Summary: x11-libs/cairo: NULL pointer dereference with a crafted font file (CVE-2017-7...
Status: IN_PROGRESS
Alias: CVE-2017-7475
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo Security
URL: https://gitlab.freedesktop.org/cairo/...
Whiteboard: A3 [upstream cve]
Keywords:
: 621392 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-05-04 15:41 UTC by Agostino Sarubbo
Modified: 2021-07-24 05:44 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2017-05-04 15:41:05 UTC
From ${URL} :

Hello,

## Overview
I and my colleague have found a vulnerability of Cairo-1.15.4 when fuzzing
HarfBuzz with AFL.
Cairo is a 2d graphics library, and HarBuzz is an OpenType text shaping
engine which contains a tool named *hb-view* to give a graphical view of
text using Cairo with a font provided by user.
Owing to logical problem in program, the crash happens during null pointer
deference and the vulnerability will cause a denial-of-service attack with
a crafted font file.

## Note
I have reported this issue to cairo and here is the link:
https://bugs.freedesktop.org/show_bug.cgi?id=100763.

When I disclosure to Red Hat Product Security, they suggest me to use
CVE-2017-7475 for this issue and I have communicated this number to
upstream.



@maintainer(s): after the bump, in case we need to stabilize the package, please let us know if it is ready for the stabilization or not.
Comment 1 Andrey Ovcharov 2017-06-10 13:20:30 UTC
*** Bug 621392 has been marked as a duplicate of this bug. ***
Comment 2 Yury German Gentoo Infrastructure gentoo-dev 2019-03-26 23:55:29 UTC
Maintainers, please take a look at this. RedHat decided that they are not going to fix this. 
https://access.redhat.com/security/cve/cve-2017-7475
Comment 3 Aaron Bauman (RETIRED) gentoo-dev 2019-03-29 20:14:05 UTC
(In reply to Yury German from comment #2)
> Maintainers, please take a look at this. RedHat decided that they are not
> going to fix this. 
> https://access.redhat.com/security/cve/cve-2017-7475

Bug is still open...

https://bugzilla.redhat.com/show_bug.cgi?id=1447949
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-04-22 22:17:52 UTC
This remains open with no patch: https://gitlab.freedesktop.org/cairo/cairo/issues/80
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-04-22 22:19:08 UTC
(In reply to Sam James (sec padawan) from comment #4)
> This remains open with no patch:
> https://gitlab.freedesktop.org/cairo/cairo/issues/80

There is a proposed patch (https://bugs.freedesktop.org/attachment.cgi?id=131213) but upstream aren't sure about it: https://gitlab.freedesktop.org/cairo/cairo/issues/80#note_51228.

So it's more of a stopgap "fix" than anything complete.