Opened 23 years ago

Closed 18 years ago

#168 closed defect (fixed)

libtool-1.5.22

Reported by: gerard@… Owned by: Matthew Burgess
Priority: normal Milestone:
Component: Book Version: SVN
Severity: normal Keywords:
Cc:

Description

Change History (40)

comment:1 by gerard@…, 23 years ago

dependson: 30
Resolution: later
Status: newclosed

comment:2 by gerard@…, 23 years ago

Resolution: later
Status: closedreopened

comment:3 by gerard@…, 23 years ago

Summary: libtool-1.4.1libtool-1.4.2

comment:4 by gerard@…, 23 years ago

Owner: changed from lfs-book@… to gerard@…
Status: reopenedassigned

comment:5 by gerard@…, 23 years ago

Resolution: fixed
Status: assignedclosed

comment:6 by highos@…, 22 years ago

Resolution: fixed
Status: closedreopened
Summary: libtool-1.4.2libtool-1.4.3

Version increment (1.4.3)

comment:7 by tushar@…, 22 years ago

Has the current patch for libtool-1.4.2 (autoconf-2.53 related fixes) been submitted to the libtool maintainer? The patch is still valid as of 1.4.3.

comment:8 by timothy@…, 21 years ago

Owner: changed from gerard@… to lfs-book@…
Status: reopenednew

comment:9 by timothy@…, 21 years ago

Resolution: fixed
Status: newclosed

comment:10 by highos@…, 21 years ago

Resolution: fixed
Status: closedreopened
Summary: libtool-1.4.3libtool-1.5

Version increment (1.5)

comment:11 by gerard@…, 21 years ago

Priority: normalhighest

comment:12 by gerard@…, 21 years ago

Status: reopenedassigned

comment:13 by gerard@…, 21 years ago

Resolution: fixed
Status: assignedclosed

comment:14 by gerard@…, 20 years ago

dependson: 30

comment:15 by Matthew Burgess, 20 years ago

Resolution: fixed
Status: closedreopened
Summary: libtool-1.5libtool-1.5.2

Version increment (1.5.2)

comment:16 by petri.koistinen@…, 20 years ago

lfs-book-cvs-html-2004-01-26/chapter06/libtool.html make check All 101 tests passed

comment:17 by gerard@…, 20 years ago

Priority: highestnormal

comment:18 by gerard@…, 20 years ago

Resolution: fixed
Status: reopenedclosed

comment:19 by petri.koistinen@…, 20 years ago

For paranoids:

Date: Fri, 30 Jan 2004 02:14:57 +0100 From: Stefan Nordhausen <deletethis.nordhaus@…> To: bugtraq@… Subject: Symlink Vulnerability in GNU libtool <1.5.2

Vulnerable: libtool <1.5.2 Not Vulnerable: libtool 1.5.2 Project website: http://www.gnu.org/software/libtool/libtool.html

Description of libtool (from website): "GNU libtool is a generic library support script. Libtool hides the complexity of using shared libraries behind a consistent, portable interface." Libtool is included with many packages that rely on it to handle libraries. As a result these packages are vulnerable as well.

Discussion: I found a symlink vulnerability in libtool prior to version 1.5.2. Libtool insecurely creates a temporary directory when a package using libtool is being compiled.

I want to point out that this bug is _only_ exploitable at compile time. The binaries that are produced during compilation are _not_ affected. As a result, systems that rely exclusively on binary packages are not affected at all.

Solution: Updating to libtool 1.5.2 (the current stable release) will eliminate the vulnerability. If you want to stick with your old version of libtool you can easily fix this bug yourself. In "ltmain.in" (or file "libtool", whichever applies for you) you should replace the line:

if $mkdir -p "$tmpdir" && chmod 700 "$tmpdir"; then :with

if $mkdir "$tmpdir" && chmod 700 "$tmpdir"; then :

Packages sometimes bring their own version of libtool. As a result, fixing the libtool that is installed on your system may not be enough. To solve this problem, package maintainers should fix their packages if they use libtool!

Regards Stefan Nordhausen

-- Don't open your eyes, you won't like what you see. The blind have been blessed with security. Don't open your eyes, take it from me. I have found, you can find happiness in slavery.

Trent Reznor

comment:20 by tushar@…, 20 years ago

Resolution: fixed
Status: closedreopened
Summary: libtool-1.5.2libtool-1.5.4

Version Increment (1.5.4)

comment:21 by Matthew Burgess, 20 years ago

See http://mail.gnu.org/archive/html/bug-libtool/2004-04/msg00017.html and http://mail.gnu.org/archive/html/bug-libtool/2004-04/msg00018.html for why we may want to wait until upgrading. Unfortuantely the NEWS file simply lists "bug fixes" as the differences in this version, so I personally have no way of knowing whether we are missing out on anything by holding off on this upgrade. I don't think it should go ito 5.1-pre2 at any rate.

Cheers,

Matt.

comment:22 by Matthew Burgess, 20 years ago

Summary: libtool-1.5.4libtool-1.5.6

Version increment (1.5.6)

comment:23 by Matthew Burgess, 20 years ago

Owner: changed from lfs-book@… to Matthew Burgess
Status: reopenednew

comment:24 by Matthew Burgess, 20 years ago

Status: newassigned

comment:25 by Matthew Burgess, 20 years ago

Resolution: fixed
Status: assignedclosed

Fixed in newxml.

comment:26 by Matthew Burgess, 20 years ago

Resolution: fixed
Status: closedreopened
Summary: libtool-1.5.6libtool-1.5.8
Version: CVSSVN

Version increment (1.5.8)

comment:27 by gerard@…, 20 years ago

Resolution: fixed
Status: reopenedclosed

comment:28 by Matthew Burgess, 20 years ago

Resolution: fixed
Status: closedreopened
Summary: libtool-1.5.8libtool-1.5.10

Version increment (1.5.10)

comment:29 by jeremy@…, 20 years ago

Resolution: fixed
Status: reopenedclosed

Upgraded in unstable

comment:30 by Matthew Burgess, 19 years ago

Resolution: fixed
Status: closedreopened
Summary: libtool-1.5.10libtool-1.5.12

Version increment (1.5.12)

comment:31 by Matthew Burgess, 19 years ago

Summary: libtool-1.5.12libtool-1.5.14

Version increment (1.5.14) fixing a couple of regressions from 1.5.12. (thanks Kevin Fleming!)

comment:32 by Matthew Burgess, 19 years ago

Resolution: fixed
Status: reopenedclosed

Fixed in r4631

comment:33 by Matthew Burgess, 19 years ago

Resolution: fixed
Status: closedreopened
Summary: libtool-1.5.14libtool-1.5.16

Version increment (1.5.16)

comment:34 by Matthew Burgess, 19 years ago

Resolution: fixed
Status: reopenedclosed

comment:35 by Matthew Burgess, 19 years ago

Resolution: fixed
Status: closedreopened
Summary: libtool-1.5.16libtool-1.5.18

Version increment (1.5.18)

comment:36 by Matthew Burgess, 19 years ago

Resolution: fixed
Status: reopenedclosed

comment:37 by Matthew Burgess, 19 years ago

Resolution: fixed
Status: closedreopened
Summary: libtool-1.5.18libtool-1.5.20

Version increment (1.5.20). Various bug fixes including: "Fix yet another regression with ownership of libltdl data files", so we can drop the 'chown' command.

comment:38 by Matthew Burgess, 19 years ago

Resolution: fixed
Status: reopenedclosed

comment:39 by Matthew Burgess, 18 years ago

Resolution: fixed
Status: closedreopened
Summary: libtool-1.5.20libtool-1.5.22

Version increment (1.5.22). A few bug fixes, perhaps most importantly:

  • Fix potential denial of service by malicious other users for tmpdir directory creation at relink time.

comment:40 by Matthew Burgess, 18 years ago

Resolution: fixed
Status: reopenedclosed
Note: See TracTickets for help on using tickets.