GLSA-200501-28 : Xpdf, GPdf: Stack overflow in Decrypt::makeFileKey2

high Nessus Plugin ID 16419

Synopsis

The remote Gentoo host is missing one or more security-related patches.

Description

The remote host is affected by the vulnerability described in GLSA-200501-28 (Xpdf, GPdf: Stack overflow in Decrypt::makeFileKey2)

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.

Solution

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'

See Also

http://www.nessus.org/u?d0de7eb8

https://security.gentoo.org/glsa/200501-28

Plugin Details

Severity: High

ID: 16419

File Name: gentoo_GLSA-200501-28.nasl

Version: 1.23

Type: local

Published: 2/14/2005

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.0

CVSS v2

Risk Factor: High

Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:gpdf, p-cpe:/a:gentoo:linux:xpdf, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 1/21/2005

Vulnerability Publication Date: 1/18/2005

Reference Information

CVE: CVE-2005-0064

GLSA: 200501-28