Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.electronics.design > #382098

Re: OT: C++ Redistributables

Newsgroups sci.electronics.design
Subject Re: OT: C++ Redistributables
References <p0v72b974n33ihcma6iks20a0cqfvrjssg@4ax.com> <5624f7cd$0$9494$e4fe514c@news.kpn.nl> <44f85551-7209-4168-b9f4-e2a3b1bf15c7@googlegroups.com> <56254939$0$9484$e4fe514c@news.kpn.nl>
From dplatt@coop.radagast.org (Dave Platt)
Date 2015-10-19 14:44 -0700
Message-ID <kr4gfc-ore.ln1@coop.radagast.org> (permalink)
Organization Unlimited download news at news.astraweb.com

Show all headers | View raw


In article <56254939$0$9484$e4fe514c@news.kpn.nl>,
N. Coesel <nico@niks.nl> wrote:

>> But I understand the argument that static linking libraries is a bad idea, since bugs and security holes found in the libraries will not be fixed
>
>A fixed library will have a new version number and the program will look 
>for the old version so either way the bugs and/or security holes won't 
>be plugged. New libraries often show different behaviour so you really 
>don't want to replace a library with a new version anyway.

That depends very much on the system.

In GNU/Linux environments, apps are normally linked against the
"canonical" version of the library name (e.g. "libc.so") which does
not include the version number.  The installed library has a version
number in the name, but is "symlinked" to the canonical name by the
library installation/management process.  It's possible, and quite
common, for updated version of a library to be installed during system
maintenance operations;  running programs continue to use the old
version's memory image, but any newly-executed programs executed after
the upgrade will access the newer version.

This is a primary mechanism for doing security upgrades.

A *major* upgrade in a library - one which changes the API enough to
to make the new library incompatible with older applications - will
usually result in the "canonical" version of the library name being
changed, so that the two libraries can be installed "in parallel" and
so that older apps can continue to run without interruption.

>Besides that it is not really a problem. What user application is so 
>sensitive that it can present a security thread? Especially if you are 
>clever enough not to use your computer with administrator/root privileges.

Any user application which can access a user's files is a potential
security problem.

A fairly high percentage of security exploits in recent years have
been ones in which somebody has figured out a way to carefully craft
some data which, when processed by an application or library, results
in some form of "code injection" into the running application/library
memory image.  This will then allow the exploit code to access all of
the user's files, with the user's full privilege.

This may not allow the machine to be rooted... but it's entirely
sufficient to allow a user's emails and contact list to be plundered,
keystrokes to be logged, passwords and other access credentials to be
found and misused, and the machine converted into a "botnet" slave
which can spew spam and scan other hosts for possible vulnerabilities.

Back to sci.electronics.design | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

OT: C++ Redistributables Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2015-10-18 13:09 -0700
  Re: OT: C++ Redistributables Jeff Liebermann <jeffl@cruzio.com> - 2015-10-18 15:39 -0700
    Re: OT: C++ Redistributables Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2015-10-18 16:20 -0700
      Re: OT: C++ Redistributables Jeff Liebermann <jeffl@cruzio.com> - 2015-10-18 17:33 -0700
        Re: OT: C++ Redistributables Ralph Barone <address_is@invalid.invalid> - 2015-10-19 02:05 +0000
        Re: OT: C++ Redistributables "N. Coesel" <nico@niks.nl> - 2015-10-19 15:59 +0200
          Re: OT: C++ Redistributables Jeff Liebermann <jeffl@cruzio.com> - 2015-10-19 09:29 -0700
            Re: OT: C++ Redistributables "N. Coesel" <nico@niks.nl> - 2015-10-19 19:15 +0200
            Re: OT: C++ Redistributables "Tom Del Rosso" <fizzbintuesday@that-google-mail-domain.com> - 2015-10-20 14:45 -0400
              Re: OT: C++ Redistributables M Philbrook <jamie_ka1lpa@charter.net> - 2015-10-20 17:53 -0400
          Re: OT: C++ Redistributables Lasse Langwadt Christensen <langwadt@fonz.dk> - 2015-10-19 10:53 -0700
            Re: OT: C++ Redistributables "N. Coesel" <nico@niks.nl> - 2015-10-19 21:46 +0200
              Re: OT: C++ Redistributables dplatt@coop.radagast.org (Dave Platt) - 2015-10-19 14:44 -0700
          Re: OT: C++ Redistributables M Philbrook <jamie_ka1lpa@charter.net> - 2015-10-19 17:21 -0400
      Re: OT: C++ Redistributables whit3rd <whit3rd@gmail.com> - 2015-10-19 11:52 -0700

csiph-web