Lucene search

K
gentooGentoo FoundationGLSA-200501-28
HistoryJan 21, 2005 - 12:00 a.m.

Xpdf, GPdf: Stack overflow in Decrypt::makeFileKey2

2005-01-2100:00:00
Gentoo Foundation
security.gentoo.org
15

7.5 High

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

0.096 Low

EPSS

Percentile

94.7%

Background

Xpdf is an open source viewer for Portable Document Format (PDF) files. GPdf is a Gnome-based PDF viewer that includes some Xpdf code.

Description

iDEFENSE reports that the Decrypt::makeFileKey2 function in Xpdf’s Decrypt.cc insufficiently checks boundaries when processing /Encrypt /Length tags in PDF files.

Impact

An attacker could entice an user to open a specially-crafted PDF file which would trigger a stack overflow, potentially resulting in execution of arbitrary code with the rights of the user running Xpdf or GPdf.

Workaround

There is no known workaround at this time.

Resolution

All Xpdf users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=app-text/xpdf-3.00-r8"

All GPdf users should also upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=app-text/gpdf-2.8.2"
OSVersionArchitecturePackageVersionFilename
Gentooanyallapp-text/xpdf<= 3.00-r7UNKNOWN
Gentooanyallapp-text/gpdf< 2.8.2UNKNOWN

7.5 High

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

0.096 Low

EPSS

Percentile

94.7%