Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 375009 - net-misc/asterisk-1.8.5.0 webenabled manager crash.
Summary: net-misc/asterisk-1.8.5.0 webenabled manager crash.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal critical (vote)
Assignee: Tony Vroon (RETIRED)
URL: http://svnview.digium.com/svn/asteris...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-12 23:30 UTC by Jaco Kroon
Modified: 2011-07-13 10:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
asterisk-1.8.5.0-manager-process_output-segfault.patch (asterisk-1.8.5.0-manager-process_output-segfault.patch,1.50 KB, patch)
2011-07-12 23:45 UTC, Jaco Kroon
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jaco Kroon 2011-07-12 23:30:53 UTC
when using webenabled in manager.c a http request that heads over to the manager can (if process_output in manager.c enlarges the string) crash asterisk.  The URI contains a patch to resolve this issue.

My thanks to russelb and kpfleming that assisted in tracking and fixing the problem.

Reproducible: Always
Comment 1 Jaco Kroon 2011-07-12 23:45:18 UTC
Created attachment 279917 [details, diff]
asterisk-1.8.5.0-manager-process_output-segfault.patch

Need I say more?

I patched my one system manually, but this is a rather critical flaw, and will only go into 1.8.6.0, they won't be releasing a 1.8.5.1 for this ... go figure - DoS situation ...
Comment 2 Tony Vroon (RETIRED) gentoo-dev 2011-07-13 10:38:37 UTC
+*asterisk-1.8.5.0-r1 (13 Jul 2011)
+
+  13 Jul 2011; Tony Vroon <chainsaw@gentoo.org> -asterisk-1.8.5.0.ebuild,
+  +asterisk-1.8.5.0-r1.ebuild:
+  Rediffed & revived backward compatibility patch by Erik Wallin closes bug
+  #374947. Double-free and resulting segmentation fault reported by Jaco Kroon
+  and fixed upstream by kpfleming, closes bug #375009. Old ebuild killed as it
+  is unusable if HTTP is enabled on the management interface.