<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>24316</bug_id>
          
          <creation_ts>2010-10-15 15:41:35 +0400</creation_ts>
          <short_desc>CVE-2010-3357: insecure library loading</short_desc>
          <delta_ts>2010-10-23 08:42:29 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>gnome-subtitles</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://bugs.debian.org/598289</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>security</keywords>
          <priority>P3</priority>
          <bug_severity>blocker</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Vladimir Lettiev">crux</reporter>
          <assigned_to name="ildar">ildar</assigned_to>
          
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>113779</commentid>
    <comment_count>0</comment_count>
    <who name="Vladimir Lettiev">crux</who>
    <bug_when>2010-10-15 15:41:35 +0400</bug_when>
    <thetext>The vulnerability is introduced by an insecure change to
LD_LIBRARY_PATH, and environment variable used by ld.so(8) to look for
libraries on a directory other than the standard paths.

Vulnerable code follows:

/usr/bin/gnome-subtitles line 9:
export LD_LIBRARY_PATH=&quot;$libdir/gnome-subtitles:$LD_LIBRARY_PATH&quot;

When there&apos;s an empty item on the colon-separated list of
LD_LIBRARY_PATH, ld.so treats it as &apos;.&apos; (i.e. CWD/$PWD.)
If the given script is executed from a directory where a potential,
local, attacker can write files to, there&apos;s a chance to exploit this
bug.


Fixed in git:  http://git.gnome.org/browse/gnome-subtitles/commit/?id=44370dc2a87f7fa0d6c9730979514bd407a37c65</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>114166</commentid>
    <comment_count>1</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2010-10-23 08:42:29 +0400</bug_when>
    <thetext>gnome-subtitles-1.0-alt1.git.75.gcf1c9d0 -&gt; sisyphus:

* Fri Oct 15 2010 Ildar Mulyukov &lt;ildar@altlinux&gt; 1.0-alt1.git.75.gcf1c9d0
- new version
- fix CVE-2010-3357 (closes: #24316)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>