Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 711146 (CVE-2019-17064) - app-text/xpdf: Null pointer dereference (crash) (CVE-2019-17064)
Summary: app-text/xpdf: Null pointer dereference (crash) (CVE-2019-17064)
Status: RESOLVED FIXED
Alias: CVE-2019-17064
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
URL: https://www.cvedetails.com/cve/CVE-20...
Whiteboard: C3 [noglsa cve]
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-01 04:20 UTC by Sam James
Modified: 2020-03-16 06:18 UTC (History)
1 user (show)

See Also:
Package list:
app-text/xpdf-4.02-r2
Runtime testing required: ---
stable-bot: sanity-check+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-03-01 04:20:47 UTC
Description:
"Catalog.cc in Xpdf 4.02 has a NULL pointer dereference because Catalog.pageLabels is initialized too late in the Catalog constructor."

Patch hint: https://forum.xpdfreader.com/viewtopic.php?f=3&t=41890#p42672

(Could be generated trivially).
Comment 1 Larry the Git Cow gentoo-dev 2020-03-01 20:06:36 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ab1a068d867bd08ed5377a7b5a8d9e3ec046b18

commit 6ab1a068d867bd08ed5377a7b5a8d9e3ec046b18
Author:     Andrew Savchenko <bircoph@gentoo.org>
AuthorDate: 2020-03-01 20:03:46 +0000
Commit:     Andrew Savchenko <bircoph@gentoo.org>
CommitDate: 2020-03-01 20:06:21 +0000

    app-text/xpdf: fix CVE-2019-17064
    
    Fix NULL pointer dereference by initializing field before use.
    https://forum.xpdfreader.com/viewtopic.php?f=3&t=41890#p42672
    
    Bug: https://bugs.gentoo.org/711146
    Package-Manager: Portage-2.3.82, Repoman-2.3.20
    Signed-off-by: Andrew Savchenko <bircoph@gentoo.org>

 app-text/xpdf/files/xpdf-CVE-2019-17064.patch |  24 +++++
 app-text/xpdf/xpdf-4.02-r2.ebuild             | 141 ++++++++++++++++++++++++++
 2 files changed, 165 insertions(+)
Comment 2 Andrew Savchenko gentoo-dev 2020-03-01 20:11:14 UTC
Arch teams, please stabilize app-text/xpdf-4.02-r2 containing CVE fix.
Comment 3 Agostino Sarubbo gentoo-dev 2020-03-02 09:24:40 UTC
amd64 stable
Comment 4 Agostino Sarubbo gentoo-dev 2020-03-02 12:33:27 UTC
x86 stable.

Maintainer(s), please cleanup.
Security, please vote.
Comment 5 Larry the Git Cow gentoo-dev 2020-03-02 22:33:30 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa9c839a6550de397a577a9c6eca092badafe3f5

commit aa9c839a6550de397a577a9c6eca092badafe3f5
Author:     Andrew Savchenko <bircoph@gentoo.org>
AuthorDate: 2020-03-02 22:31:36 +0000
Commit:     Andrew Savchenko <bircoph@gentoo.org>
CommitDate: 2020-03-02 22:33:15 +0000

    app-text/xpdf: remove old and vulnerable versions
    
    Bug: https://bugs.gentoo.org/711146
    Package-Manager: Portage-2.3.82, Repoman-2.3.20
    Signed-off-by: Andrew Savchenko <bircoph@gentoo.org>

 app-text/xpdf/xpdf-4.02-r1.ebuild | 140 --------------------------------------
 app-text/xpdf/xpdf-4.02.ebuild    | 113 ------------------------------
 2 files changed, 253 deletions(-)
Comment 6 Yury German Gentoo Infrastructure gentoo-dev 2020-03-16 06:18:59 UTC
GLSA Vote: No

Thank you all for you work. 
Closing as [noglsa].