mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Solar Designer <solar@openwall.com>
To: musl@lists.openwall.com
Subject: Re: Binaries compiled with musl (1.1.2) are vulnerable to an ancient ldd exploit
Date: Sat, 14 Jun 2014 20:14:01 +0400	[thread overview]
Message-ID: <20140614161401.GA12447@openwall.com> (raw)
In-Reply-To: <20140614160243.GG179@brightrain.aerifal.cx>

Rich,

On Sat, Jun 14, 2014 at 12:02:43PM -0400, Rich Felker wrote:
> (Actually, I think
> this issue may be fixed in modern glibc ldd, but I'm not sure.)

IIRC, we have this worked around in patched glibc's ldd on Owl by having
it always explicitly run the program through /lib/ld-linux.so.2, which
obviously does interpret its env vars that the ldd script sets.  That ldd
script assumes glibc's /lib/ld-linux.so.2 anyway (env vars, exit codes).

I don't know why upstream glibc would not(?) patch the issue that way.
It's a trivial change.  Is there some WONTFIX for this in glibc Bugzilla
already?  Sounds like material for your blog if so. ;-)

Alexander


  parent reply	other threads:[~2014-06-14 16:14 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-14 15:35 Steven Honeyman
2014-06-14 15:50 ` Szabolcs Nagy
2014-06-14 15:51 ` Daniel Cegiełka
2014-06-14 16:03   ` Szabolcs Nagy
2014-06-14 16:16     ` Rich Felker
2014-06-14 16:02 ` Rich Felker
2014-06-14 16:10   ` Steven Honeyman
2014-06-14 16:30     ` Rich Felker
2014-06-14 16:14   ` Solar Designer [this message]
2014-06-14 16:24     ` Rich Felker
2014-06-14 16:27       ` Steven Honeyman
2014-06-14 16:42         ` Szabolcs Nagy
2014-06-14 17:11           ` Rich Felker
2014-06-14 17:24       ` Solar Designer
2014-06-14 18:29         ` Rich Felker
2014-06-14 18:37           ` Solar Designer
2014-06-14 19:39             ` Rich Felker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140614161401.GA12447@openwall.com \
    --to=solar@openwall.com \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).