man-db command line buffer overflow

mandb-command-line-bo (12767) The risk level is classified as LowLow Risk

Description:

man-db is vulnerable to a buffer overflow, caused by insufficient bounds checking of the ult_src function. By supplying an overly long path as an argument, a remote attacker can overflow a buffer and cause a segmentation fault.


Consequences:

Denial of Service

Remedy:

For Debian GNU/Linux 3.0 (woody):
Upgrade to the latest man-db package (2.3.20-18.woody.4 or later), as listed in DSA-364-3. See References.

References:

  • BugTraq Mailing List, 2003-08-08 13:51:12: New man-db packages fix problem with DSA-364-1.
  • BugTraq Mailing List, Tue Jul 29 2003 - 16:03:08 CDT : man-db[] multiple(4) vulnerabilities..
  • CVE-2003-0620: Multiple buffer overflows in man-db 2.4.1 and earlier, when installed setuid, allow local users to gain privileges via (1) MANDATORY_MANPATH, MANPATH_MAP, and MANDB_MAP arguments to add_to_dirlist in manp.c, (2) a long pathname to ult_src in ult_src.c, (3) a long .so argument to test_for_include in ult_src.c, (4) a long MANPATH environment variable, or (5) a long PATH environment variable.
  • DSA-364: man-db -- buffer overflows

Platforms Affected:

  • Debian Debian Linux 3.0
  • man-db man-db 2.4.1 and prior

Reported:

Jul 29, 2003

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this

Return to the main page