Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 624706 (CVE-2017-2814) - app-text/poppler: Heap-buffer overflow in DCTStream::readScan()
Summary: app-text/poppler: Heap-buffer overflow in DCTStream::readScan()
Status: RESOLVED INVALID
Alias: CVE-2017-2814
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Gentoo Security
URL: https://bugzilla.redhat.com/show_bug....
Whiteboard: A2 [noglsa cve]
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-12 15:24 UTC by Agostino Sarubbo
Modified: 2018-01-15 23:23 UTC (History)
4 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-07-12 15:24:54 UTC
From ${URL} :

An exploitable heap overflow vulnerability exists in the image rendering functionality of Poppler. A specifically crafted pdf can cause an image resizing after allocation has already occurred, resulting 
in heap corruption which can lead to code execution. An attacker controlled PDF file can be used to trigger this vulnerability.

External References:

https://www.talosintelligence.com/vulnerability_reports/TALOS-2017-0311


@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 Yury German Gentoo Infrastructure gentoo-dev 2017-08-10 07:21:00 UTC
Setting dependency to stabilization bug
Comment 2 Michael Palimaka (kensington) gentoo-dev 2017-09-21 13:02:48 UTC
Removing dependency, there's no evidence that this has been fixed.
Comment 3 Andreas Sturmlechner gentoo-dev 2017-11-24 22:44:44 UTC
Per the upstream advisory:

"The Poppler library, by default, uses a private implementation of reading and rendering images. There is a compilation option for libjpeg support, but the flag is not enabled by default. This private implementation contains assumptions about the JPEG file headers that can lead to heap corruption when broken."

The default has changed to libjpeg since 0.55. To build this private implementation, one has to pass -DENABLE_DCTDECODER=unmaintained, but Gentoo either passes 'libjpeg' or 'none'. Which by definition makes us unaffected.