OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Herbert Schmid
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-web Date: 17-Jan-2005 12:47:06
Branch: HEAD Handle: 2005011711470600
Added files:
openpkg-web/security OpenPKG-SA-2005.003-a2ps.txt
Log:
resolved security issue CAN-2004-1170 OpenPKG-2005-003-a2ps
Summary:
Revision Changes Path
1.1 +74 -0 openpkg-web/security/OpenPKG-SA-2005.003-a2ps.txt
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-web/security/OpenPKG-SA-2005.003-a2ps.txt
============================================================================
$ cvs diff -u -r0 -r1.1 OpenPKG-SA-2005.003-a2ps.txt
--- /dev/null 2005-01-17 12:47:06 +0100
+++ OpenPKG-SA-2005.003-a2ps.txt 2005-01-17 12:47:06 +0100
@@ -0,0 +1,74 @@
+________________________________________________________________________
+
+OpenPKG Security Advisory The OpenPKG Project
+http://www.openpkg.org/security.html http://www.openpkg.org
[EMAIL PROTECTED] [EMAIL PROTECTED]
+OpenPKG-SA-2005.003 17-Jan-2005
+________________________________________________________________________
+
+Package: a2ps
+Vulnerability: arbitrary code execution
+OpenPKG Specific: no
+
+Affected Releases: Affected Packages: Corrected Packages:
+OpenPKG CURRENT <= a2ps-4.13b-20040818 >= a2ps-4.13b-20050117
+OpenPKG 2.2 <= a2ps-4.13b-2.2.0 >= a2ps-4.13b-2.2.1
+OpenPKG 2.1 <= a2ps-4.13b-2.1.0 >= a2ps-4.13b-2.1.1
+
+Dependent Packages: none
+
+Description:
+ Rudolf Polzer [0] discovered a vulnerability in a2ps [1], a converter and
+ pretty-printer for many formats to PostScript. The program does not
+ escape shell meta characters properly which could lead to the execution
+ of arbitrary commands as a privileged user if a2ps is installed as a
+ printer filter.
+ a2ps allows remote attackers to execute arbitrary commands via shell
+ metacharacters in the filename. The Common Vulnerabilities and
+ Exposures (CVE) project assigned the identifier CAN-2004-1170 [2] to
+ the problem.
+
+ Please check whether you are affected by running "<prefix>/bin/openpkg
+ rpm -q a2ps". If you have the "a2ps" package installed and its version
+ is affected (see above), we recommend that you immediately upgrade it
+ (see Solution) [3][4].
+
+Solution:
+ Select the updated source RPM appropriate for your OpenPKG release
+ [5], fetch it from the OpenPKG FTP service [6][7] or a mirror
+ location, verify its integrity [8], build a corresponding binary RPM
+ from it [3] and update your OpenPKG installation by applying the
+ binary RPM [4]. For the most recent release OpenPKG 2.2, perform the
+ following operations to permanently fix the security problem (for
+ other releases adjust accordingly).
+
+ $ ftp ftp.openpkg.org
+ ftp> bin
+ ftp> cd release/2.2/UPD
+ ftp> get a2ps-4.13b-2.2.1.src.rpm
+ ftp> bye
+ $ <prefix>/bin/openpkg rpm -v --checksig a2ps-4.13b-2.2.1.src.rpm
+ $ <prefix>/bin/openpkg rpm --rebuild a2ps-4.13b-2.2.1.src.rpm
+ $ su -
+ # <prefix>/bin/openpkg rpm -Fvh <prefix>/RPM/PKG/a2ps-4.13b-2.2.1.*.rpm
+________________________________________________________________________
+
+References:
+ [0] http://archives.neohapsis.com/archives/fulldisclosure/2004-08/1026.html
+ [1] http://www.inf.enst.fr/~demaille/a2ps/
+ [2] http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1170
+ [3] http://www.openpkg.org/tutorial.html#regular-source
+ [4] http://www.openpkg.org/tutorial.html#regular-binary
+ [5] ftp://ftp.openpkg.org/release/2.2/UPD/a2ps-4.13b-2.2.1.src.rpm
+ [6] ftp://ftp.openpkg.org/release/2.2/UPD/
+ [7] ftp://ftp.openpkg.org/release/2.1/UPD/
+ [8] http://www.openpkg.org/security.html#signature
+________________________________________________________________________
+
+For security reasons, this advisory was digitally signed with the
+OpenPGP public key "OpenPKG <[EMAIL PROTECTED]>" (ID 63C4CB9F) of the
+OpenPKG project which you can retrieve from http://pgp.openpkg.org and
+hkp://pgp.openpkg.org. Follow the instructions on http://pgp.openpkg.org/
+for details on how to verify the integrity of this advisory.
+________________________________________________________________________
+
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]