<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>154218</bug_id>
          
          <creation_ts>2006-11-06 01:53 0000</creation_ts>
          <short_desc>app-arch/rpm: buffer overflow</short_desc>
          <delta_ts>2006-11-13 15:20:48 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Security</product>
          <component>Vulnerabilities</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          <bug_file_loc>http://secunia.com/advisories/22740/</bug_file_loc>
          <status_whiteboard>B2 [glsa] Falco</status_whiteboard>
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>falco@gentoo.org</reporter>
          <assigned_to>security@gentoo.org</assigned_to>
          <cc>sanchan@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>falco@gentoo.org</who>
            <bug_when>2006-11-06 01:53:39 0000</bug_when>
            <thetext>Hi Sanchan,

a vulnerability here against app-arch/rpm, fixed in CVS.

TITLE:
RPM Buffer Overflow Vulnerability

SECUNIA ADVISORY ID:
SA22740

VERIFY ADVISORY:
http://secunia.com/advisories/22740/

CRITICAL:
Less critical

IMPACT:
DoS, System access

WHERE:
From remote

SOFTWARE:
RPM Package Manager 4.x
http://secunia.com/product/12490/

DESCRIPTION:
A vulnerability has been reported in RPM, which can be exploited by
malicious people to cause a DoS (Denial of Service) or potentially
compromise a vulnerable system.

The vulnerability is caused due to a boundary error when processing
certain RPM packages. This can be exploited to cause a heap-based
buffer overflow by e.g. tricking a user into querying a specially
crafted RPM package.

Successful exploitation may allow the execution of arbitrary code,
but requires that certain locales are set (e.g. ru_RU.UTF-8).

SOLUTION:
Fixed in the CVS repository.

PROVIDED AND/OR DISCOVERED BY:
Vladimir Mosgalin

ORIGINAL ADVISORY:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=212833</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>sanchan@gentoo.org</who>
            <bug_when>2006-11-06 12:01:32 0000</bug_when>
            <thetext>I&apos;ll try to have the fix in portage as soon as possible. The issue is not so critical beacuse rpm seems to be totally broken (bug #153974, #153292, #153280) and doesn&apos;t work at all. I&apos;m trying to have at least one version working.
Another reason for the low level of severity is that the overflow vulnerability can be exployted only with LANG=ru_RU.UTF-8.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>sanchan@gentoo.org</who>
            <bug_when>2006-11-06 12:12:05 0000</bug_when>
            <thetext>The provided patch:
https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=139715

apply without errors to 4.4.6-r2, I&apos;m testing it right now the ebuild.
I&apos;m going to try the patch also on 4.4.7 in the next 2 hours.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>sanchan@gentoo.org</who>
            <bug_when>2006-11-06 13:13:48 0000</bug_when>
            <thetext>Upstream patch in portage for rpm 4.4.6 and 4.4.7, version bump for security fix.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>falco@gentoo.org</who>
            <bug_when>2006-11-06 13:57:08 0000</bug_when>
            <thetext>Thanks Sandro . This was really fast !</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dertobi123@gentoo.org</who>
            <bug_when>2006-11-07 00:01:40 0000</bug_when>
            <thetext>Since when do we mark (security-)bumped packages directly as stable?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>sanchan@gentoo.org</who>
            <bug_when>2006-11-07 11:16:47 0000</bug_when>
            <thetext>(In reply to comment #5)
&gt; Since when do we mark (security-)bumped packages directly as stable?
&gt; 

I don&apos;t know, but as far as I can remember it is the policy for security-bump of stable ebuilds.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jaervosz@gentoo.org</who>
            <bug_when>2006-11-07 11:56:59 0000</bug_when>
            <thetext>Tobias, Sandro just to clarify: it&apos;s usually up to the package maintainer wether to bump directly to stable or let arches do the stable marking.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dertobi123@gentoo.org</who>
            <bug_when>2006-11-07 12:09:11 0000</bug_when>
            <thetext>(In reply to comment #7)
&gt; Tobias, Sandro just to clarify: it&apos;s usually up to the package maintainer
&gt; wether to bump directly to stable or let arches do the stable marking.

Where&apos;s that documented?

I only knew (and still can only find) the process described here: http://www.gentoo.org/security/en/vulnerability-policy.xml#doc_chap4_sect1</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jaervosz@gentoo.org</who>
            <bug_when>2006-11-07 12:17:14 0000</bug_when>
            <thetext>Tobias, yeah that is normal procedure. For very small fixes/very urgent issues maintainers sometimes bump directly to stable. </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dertobi123@gentoo.org</who>
            <bug_when>2006-11-07 12:22:06 0000</bug_when>
            <thetext>Ok then ... I was just kinda confused as I&apos;m watching bug-mails for the security@g.o alias now for nearly two years and can&apos;t remember seeing a bump directly to stable in that time.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>falco@gentoo.org</who>
            <bug_when>2006-11-13 15:20:48 0000</bug_when>
            <thetext>GLSA 200611-08, thanks everybody</thetext>
          </long_desc>
      
    </bug>

</bugzilla>