J-Security Center

Title: SLocate Path Malloc Integer Signing Heap Overflow Vulnerability

Severity: HIGH

Description:

slocate is the Secure Locate program. It is available for various UNIX operating systems, and is maintained by public domain.

A problem with slocate may make it possible for a local user to gain unauthorized privileges.

It has been reported that slocate is vulnerable to a signed integer overflow issue when handling data in the environment variable SLOCATE_PATH. Because of this problem, it may be possible for a local attacker to cause a heap corruption issue, potentially executing code.

The problem is in the handling of large amounts of data in the SLOCATE_PATH variable. By placing a specially crafted string in the environment variable, it could be possible for an attacker to cause the wrapping of a signed bit in an integer value, resulting in an insufficient amount of malloc'd memory. This could potentially be exploited by the attacker to execute code with the privileges of the slocate program.

Affected Products:

  • Caldera OpenLinux Server 3.1.1
  • Caldera OpenLinux Workstation 3.1.1
  • Conectiva Linux 6.0.0
  • Conectiva Linux 7.0.0
  • Conectiva Linux 8.0.0
  • Debian Linux 3.0.0 alpha
  • Debian Linux 3.0.0 arm
  • Debian Linux 3.0.0 hppa
  • Debian Linux 3.0.0 ia-32
  • Debian Linux 3.0.0 ia-64
  • Debian Linux 3.0.0 m68k
  • Debian Linux 3.0.0 mips
  • Debian Linux 3.0.0 mipsel
  • Debian Linux 3.0.0 ppc
  • Debian Linux 3.0.0 s/390
  • Debian Linux 3.0.0 sparc
  • Gentoo Linux 1.4.0 _rc1
  • Gentoo Linux 1.4.0 _rc2
  • MandrakeSoft Corporate Server 2.1.0
  • MandrakeSoft Corporate Server 2.1.0 x86_64
  • MandrakeSoft Corporate Server 3.0.0
  • MandrakeSoft Corporate Server 3.0.0 x86_64
  • MandrakeSoft Linux Mandrake 10.0.0
  • MandrakeSoft Linux Mandrake 10.0.0 amd64
  • MandrakeSoft Linux Mandrake 10.1.0
  • MandrakeSoft Linux Mandrake 10.1.0 x86_64
  • MandrakeSoft Linux Mandrake 10.2.0
  • MandrakeSoft Linux Mandrake 10.2.0 x86_64
  • MandrakeSoft Linux Mandrake 9.1.0
  • MandrakeSoft Linux Mandrake 9.1.0 ppc
  • MandrakeSoft Linux Mandrake 9.2.0
  • MandrakeSoft Linux Mandrake 9.2.0 amd64
  • RedHat Linux 6.2.0
  • RedHat Linux 7.2.0 i386
  • RedHat Linux 7.3.0
  • RedHat Linux 7.3.0 i386
  • RedHat Linux 8.0.0 i386
  • RedHat Linux 9.0.0 i386
  • Trustix Secure Linux 1.5.0
  • Trustix Secure Linux 2.0.0
  • slocate slocate 2.1.0
  • slocate slocate 2.2.0
  • slocate slocate 2.3.0
  • slocate slocate 2.4.0
  • slocate slocate 2.5.0
  • slocate slocate 2.6.0
  • slocate slocate 2.7.0

Juniper Networks provides this content via a wide variety of sources and production methods. If notified of errors or omissions in the content of this page, Juniper Networks, at its discretion, will modify or remove the page or leave the content as is, depending on various factors including but not limited to the reputation and authority of the party providing the notification. Please use the contact information displayed elsewhere on this page to report any errors or omissions regarding the content on this page.