Debian Security Advisory

DSA-285-1 lprng -- insecure temporary file

Date Reported:
14 Apr 2003
Affected Packages:
lprng
Vulnerable:
Yes
Security database references:
In the Bugtraq database (at SecurityFocus): BugTraq ID 7334.
In Mitre's CVE dictionary: CVE-2003-0136.
More information:

Karol Lewandowski discovered that psbanner, a printer filter that creates a PostScript format banner and is part of LPRng, insecurely creates a temporary file for debugging purpose when it is configured as filter. The program does not check whether this file already exists or is linked to another place, psbanner writes its current environment and called arguments to the file unconditionally with the user id daemon.

For the stable distribution (woody) this problem has been fixed in version 3.8.10-1.2.

The old stable distribution (potato) is not affected by this problem.

For the unstable distribution (sid) this problem has been fixed in version 3.8.20-4.

We recommend that you upgrade your lprng package.

Fixed in:

Debian GNU/Linux 3.0 (woody)

Source:
http://security.debian.org/pool/updates/main/l/lprng/lprng_3.8.10-1.2.dsc
http://security.debian.org/pool/updates/main/l/lprng/lprng_3.8.10-1.2.diff.gz
http://security.debian.org/pool/updates/main/l/lprng/lprng_3.8.10.orig.tar.gz
Architecture-independent component:
http://security.debian.org/pool/updates/main/l/lprng/lprng-doc_3.8.10-1.2_all.deb
Alpha:
http://security.debian.org/pool/updates/main/l/lprng/lprng_3.8.10-1.2_alpha.deb
ARM:
http://security.debian.org/pool/updates/main/l/lprng/lprng_3.8.10-1.2_arm.deb
Intel IA-32:
http://security.debian.org/pool/updates/main/l/lprng/lprng_3.8.10-1.2_i386.deb
Intel IA-64:
http://security.debian.org/pool/updates/main/l/lprng/lprng_3.8.10-1.2_ia64.deb
HPPA:
http://security.debian.org/pool/updates/main/l/lprng/lprng_3.8.10-1.2_hppa.deb
Motorola 680x0:
http://security.debian.org/pool/updates/main/l/lprng/lprng_3.8.10-1.2_m68k.deb
Big endian MIPS:
http://security.debian.org/pool/updates/main/l/lprng/lprng_3.8.10-1.2_mips.deb
Little endian MIPS:
http://security.debian.org/pool/updates/main/l/lprng/lprng_3.8.10-1.2_mipsel.deb
PowerPC:
http://security.debian.org/pool/updates/main/l/lprng/lprng_3.8.10-1.2_powerpc.deb
IBM S/390:
http://security.debian.org/pool/updates/main/l/lprng/lprng_3.8.10-1.2_s390.deb
Sun Sparc:
http://security.debian.org/pool/updates/main/l/lprng/lprng_3.8.10-1.2_sparc.deb

MD5 checksums of the listed files are available in the original advisory.