Linux Security
Linux Security
Linux Security

Debian: New man-db packages fix arbitrary code execution

Date 06 Apr 2007
6498
Posted By LinuxSecurity Advisories
A buffer overflow has been dicovered in the man command that could allow an attacker to execute code as the man user by providing specially crafted arguments to the -H flag. This is likely to be an issue only on machines with the man and mandb programs installed setuid.
- ------------------------------------------------------------------------
Debian Security Advisory DSA-1278-1                This email address is being protected from spambots. You need JavaScript enabled to view it.
https://www.debian.org/security/                         Noah Meyerhans
April 06, 2007
- ------------------------------------------------------------------------

Package        : man-db
Vulnerability  : buffer overflow
Problem type   : local
Debian-specific: no
CVE Id(s)      : CVE-2006-4250

A buffer overflow has been dicovered in the man command that could
allow an attacker to execute code as the man user by providing
specially crafted arguments to the -H flag.  This is likely to be an
issue only on machines with the man and mandb programs installed
setuid.

For the stable distribution (sarge), this problem has been fixed in
version 2.4.2-21sarge1

For the upcoming stable distribution (etch) and the unstable
distribution (sid), this problem has been fixed in version 2.4.3-5.

We recommend that you upgrade your man-db package.

Upgrade instructions
- --------------------

wget url
        will fetch the file for you
dpkg -i file.deb
        will install the referenced file.

If you are using the apt-get package manager, use the line for
sources.list as given below:

apt-get update
        will update the internal database
apt-get upgrade
        will install corrected packages

You may use an automated update by adding the resources from the
footer to the proper configuration.

Debian 3.1 (stable)
- -------------------

Stable updates are available for alpha, amd64, arm, hppa, i386, ia64, m68k, mips, mipsel, powerpc, s390 and sparc.

Source archives:

  https://security.debian.org/pool/updates/main/m/man-db/man-db_2.4.2.orig.tar.gz
    Size/MD5 checksum:   730134 15855f899a76aa302c83ffec81526ab4
  https://security.debian.org/pool/updates/main/m/man-db/man-db_2.4.2-21sarge1.dsc
    Size/MD5 checksum:      673 add0d09882262adb0cbbde6845af0fbb
  https://security.debian.org/pool/updates/main/m/man-db/man-db_2.4.2-21sarge1.diff.gz
    Size/MD5 checksum:   104832 c5befcaee1865b8582d7bbe8ac21f537

alpha architecture (DEC Alpha)

  https://security.debian.org/pool/updates/main/m/man-db/man-db_2.4.2-21sarge1_alpha.deb
    Size/MD5 checksum:   641194 92131ea27cf1f17fcdaaea36accfa930

amd64 architecture (AMD x86_64 (AMD64))

  https://security.debian.org/pool/updates/main/m/man-db/man-db_2.4.2-21sarge1_amd64.deb
    Size/MD5 checksum:   607660 464ca88aca62d8cd8ee84072993ce0f7

arm architecture (ARM)

  https://security.debian.org/pool/updates/main/m/man-db/man-db_2.4.2-21sarge1_arm.deb
    Size/MD5 checksum:   559372 1d5563046ce831b2b7088caa044694de

hppa architecture (HP PA RISC)

  https://security.debian.org/pool/updates/main/m/man-db/man-db_2.4.2-21sarge1_hppa.deb
    Size/MD5 checksum:   609530 efa1144900b1ee014dd93eb5fb1bf223

i386 architecture (Intel ia32)

  https://security.debian.org/pool/updates/main/m/man-db/man-db_2.4.2-21sarge1_i386.deb
    Size/MD5 checksum:   579774 feb44785cde0c8f64cd22f35aa674ab8

ia64 architecture (Intel ia64)

  https://security.debian.org/pool/updates/main/m/man-db/man-db_2.4.2-21sarge1_ia64.deb
    Size/MD5 checksum:   687208 1400e1e708ec327de4517557de51eca3

m68k architecture (Motorola Mc680x0)

  https://security.debian.org/pool/updates/main/m/man-db/man-db_2.4.2-21sarge1_m68k.deb
    Size/MD5 checksum:   544688 d9bd8753aeaf7ceaa7ff29903085ca33

mips architecture (MIPS (Big Endian))

  https://security.debian.org/pool/updates/main/m/man-db/man-db_2.4.2-21sarge1_mips.deb
    Size/MD5 checksum:   609644 b8cc5d9b03e70a2bf671983a31d858ba

mipsel architecture (MIPS (Little Endian))

  https://security.debian.org/pool/updates/main/m/man-db/man-db_2.4.2-21sarge1_mipsel.deb
    Size/MD5 checksum:   611036 6e3cf522a309f851111ce579d1985c83

powerpc architecture (PowerPC)

  https://security.debian.org/pool/updates/main/m/man-db/man-db_2.4.2-21sarge1_powerpc.deb
    Size/MD5 checksum:   602320 05dac7703f16fde62ecf61f07e8ecf97

s390 architecture (IBM S/390)

  https://security.debian.org/pool/updates/main/m/man-db/man-db_2.4.2-21sarge1_s390.deb
    Size/MD5 checksum:   600014 a9d162c3c25869260895ada582042e95

sparc architecture (Sun SPARC/UltraSPARC)

  https://security.debian.org/pool/updates/main/m/man-db/man-db_2.4.2-21sarge1_sparc.deb
    Size/MD5 checksum:   574580 ee5ab4089c0ff87d3f976f82b4e01c27


  These files will probably be moved into the stable distribution on
  its next update.

- ---------------------------------------------------------------------------------
For apt-get: deb https://security.debian.org/ stable/updates main
For dpkg-ftp: ftp://security.debian.org/debian-security dists/stable/updates/main
Mailing list: This email address is being protected from spambots. You need JavaScript enabled to view it.

Advisories

LinuxSecurity Poll

How frequently do you patch/update your system?

No answer selected. Please try again.
Please select either existing option or enter your own, however not both.
Please select minimum 0 answer(s) and maximum 3 answer(s).
/main-polls/52-how-frequently-do-you-patch-update-your-system?task=poll.vote&format=json
52
radio
[{"id":"179","title":"As soon as patches\/updates are released - I track advisories for my distro(s) diligently","votes":"47","type":"x","order":"1","pct":79.66,"resources":[]},{"id":"180","title":"Every so often, when I think of it","votes":"7","type":"x","order":"2","pct":11.86,"resources":[]},{"id":"181","title":"Hardly ever","votes":"5","type":"x","order":"3","pct":8.47,"resources":[]}] ["#ff5b00","#4ac0f2","#b80028","#eef66c","#60bb22","#b96a9a","#62c2cc"] ["rgba(255,91,0,0.7)","rgba(74,192,242,0.7)","rgba(184,0,40,0.7)","rgba(238,246,108,0.7)","rgba(96,187,34,0.7)","rgba(185,106,154,0.7)","rgba(98,194,204,0.7)"] 350

Please vote first in order to view vote results.

VOTE ON THE POLL PAGE


VIEW MORE POLLS

bottom 200

Please enable / Bitte aktiviere JavaScript!
Veuillez activer / Por favor activa el Javascript![ ? ]

We use cookies to provide and improve our services. By using our site, you consent to our Cookie Policy.