Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 268643
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Security <security@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Duncan Smith <duncanphilipnorman@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:
Flags: Requestee:
 
 
  ()

Filename Description Type Creator Created Size Actions
1.3.4-apr_brigade_vprintf-skip_null_terminator.patch Patch to remove an unnessary null terminator that causes a buffer overflow. patch Duncan Smith 2009-05-04 17:51 0000 507 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 268643 depends on: 272260 Show dependency tree
Bug 268643 blocks:

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2009-05-04 17:47 0000
I have 'svnsync' failing with the following message:
 svnsync: Got unexpected element svn::open_directory

The next revision to commit has a lot of property changes.  A google turned up
the following threads, pointing to a problem with dev-libs/apr-util

http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&viewType=browseAll&dsMessageId=1897250

http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&viewType=browseAll&dsMessageId=1745697
The folks at CollabNet committed the following to the 'apr' trunk:

http://svn.apache.org/viewvc/apr/apr/trunk/buckets/apr_brigade.c?r1=768417&r2=768416&pathrev=768417

Installing 'dev-libs/apr-util-1.3.4' with a patch for the above changeset and
'rc-config restart apache2' fixes the problem for me.

Reproducible: Always

------- Comment #1 From Duncan Smith 2009-05-04 17:51:05 0000 -------
Created an attachment (id=190333) [details]
Patch to remove an unnessary null terminator that causes a buffer overflow.

Here is the patch I applied locally.  It's the same as the following commit to
the apr trunk:

http://svn.apache.org/viewvc/apr/apr/trunk/buckets/apr_brigade.c?r1=768417&r2=768416&pathrev=768417

------- Comment #2 From Arfrever Frehtes Taifersar Arahesis 2009-06-06 20:29:09 0000 -------
dev-libs/apr-1.3.5 was released on 2009-06-05.
dev-libs/apr-util-1.3.7 was released on 2009-06-05.

------- Comment #3 From Alex Legler 2009-06-06 20:51:41 0000 -------
======================================================
Name: CVE-2009-1956
Status: Candidate
URL: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-1956

Off-by-one error in the apr_brigade_vprintf function in Apache
APR-util before 1.3.5 on big-endian platforms allows remote attackers
to obtain sensitive information or cause a denial of service
(application crash) via crafted input.

------- Comment #4 From Arfrever Frehtes Taifersar Arahesis 2009-06-08 21:14:00 0000 -------
dev-libs/apr-1.3.5 and dev-libs/apr-util-1.3.7 are now in the tree.

------- Comment #5 From Alex Legler 2009-06-26 08:48:58 0000 -------
GLSA together with bug 272260.

------- Comment #6 From Alex Legler 2009-07-04 07:49:31 0000 -------
GLSA 200907-03

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug