Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 161887 - net-libs/libsoup <=2.2.3, <=2.2.98 missing input sanitizing Denial of Service (CVE-2006-5876)
Summary: net-libs/libsoup <=2.2.3, <=2.2.98 missing input sanitizing Denial of Service...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Security
URL: http://seclists.org/fulldisclosure/20...
Whiteboard: B3 [noglsa] aetius
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-13 12:26 UTC by Matt Drew (RETIRED)
Modified: 2020-02-13 08:18 UTC (History)
1 user (show)

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


Attachments
Test errors on Alpha (libsoup-2.2.99.log,7.85 KB, text/plain)
2007-01-15 15:20 UTC, Bryan Østergaard (RETIRED)
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Drew (RETIRED) gentoo-dev 2007-01-13 12:26:08 UTC
http://bugzilla.gnome.org/show_bug.cgi?id=391970
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=405197

See the gnome bug for the patch.

libsoup is missing some input sanitizing when parsing HTTP headers - in this case a binary 0 (\0x00) causes a crash.  Debian says the bug is not exploitable for anything other than a crash - initial discovery was via rhythmbox using the daap plugin.
Comment 1 Matt Drew (RETIRED) gentoo-dev 2007-01-13 12:29:11 UTC
setting status and cc'ing herd.
Comment 2 Mart Raudsepp gentoo-dev 2007-01-14 07:59:51 UTC
libsoup-2.2.99 is in the tree now as ~arch, which includes the fix for upstream bug 391970 as linked above.

If this bug is considered a security fix that should get quick stabilization, please CC arches yourself or let me know to do that.
Comment 3 Matt Drew (RETIRED) gentoo-dev 2007-01-14 17:24:49 UTC
@comment #2 - 

Do we want to stabilize a patch on any of the lower versions?  I recall something about 2.2.9x being a development branch?
Comment 4 Mart Raudsepp gentoo-dev 2007-01-14 17:37:55 UTC
2.2.9x versions have been the minimum for GNOME since GNOME-2.14 - ftp://ftp.gnome.org/pub/GNOME/teams/releng/2.14.0/versions
We have 2.16 stable now.
So apparently upstream considers it stable. Plus many of the (stabilized) libsoup users in the tree demand at least 2.2.90.

As for SLOT=0 (1.99.28), I hope to get rid of that completely very soon, though users will have to notice to uninstall it themselves, as nothing would force an unmerge through a block.
Comment 5 Matt Drew (RETIRED) gentoo-dev 2007-01-14 20:42:24 UTC
Understood.  Arches, please test and mark stable:

net-libs/libsoup-2.2.99

KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 ppc sparc x86"
Comment 6 Luis Medinas (RETIRED) gentoo-dev 2007-01-15 00:14:01 UTC
amd64 stable first and the best!
thanks
Comment 7 Markus Rothe (RETIRED) gentoo-dev 2007-01-15 07:53:20 UTC
ppc64 stable
Comment 8 Bryan Østergaard (RETIRED) gentoo-dev 2007-01-15 15:20:58 UTC
Created attachment 107068 [details]
Test errors on Alpha

I get arather impressive amount of test errors (537212952 to be precise :) on alpha using 2.2.99. 2.2.94 passes tests with no errors. I've attached test part of the emerge log.

Any ideas what could cause this?
Comment 9 Tobias Scherbaum (RETIRED) gentoo-dev 2007-01-15 18:33:02 UTC
ppc stable
Comment 10 Jason Wever (RETIRED) gentoo-dev 2007-01-16 00:52:50 UTC
SPARC is seeing the same failures when it comes to testing as Alpha is in comment #8
Comment 11 Jeroen Roovers (RETIRED) gentoo-dev 2007-01-16 04:52:43 UTC
Stable for HPPA with precisely 1076425976 test errors.
Comment 12 Christian Faulhammer (RETIRED) gentoo-dev 2007-01-16 08:56:24 UTC
A negative amount failed on x86.  header-parsing is a new test introduced with .99, as the ones also available in .98 pass successfully.

-156140 errors
FAIL: header-parsing
Comment 13 Christian Faulhammer (RETIRED) gentoo-dev 2007-01-17 07:57:34 UTC
x86 stable, as the software works with libsoup...damn tests.
Comment 14 Gustavo Zacarias (RETIRED) gentoo-dev 2007-01-18 18:21:06 UTC
So? Should we ignore the testsuite?
How about we start using RESTRICT="test" for known failures?
Comment 15 Gustavo Zacarias (RETIRED) gentoo-dev 2007-01-23 14:13:17 UTC
sparc stable and disabled tests in the ebuild since they're known broken.
Comment 16 Bryan Østergaard (RETIRED) gentoo-dev 2007-01-23 22:11:04 UTC
Stable on Alpha and IA64.
Comment 17 Matthias Geerdsen (RETIRED) gentoo-dev 2007-01-24 20:05:10 UTC
glsa or no glsa?
Comment 18 Matt Drew (RETIRED) gentoo-dev 2007-01-25 13:02:22 UTC
/vote no, it's a client DoS.
Comment 19 Vic Fryzel (shellsage) (RETIRED) gentoo-dev 2007-01-26 01:05:59 UTC
I vote no.
Comment 20 Vic Fryzel (shellsage) (RETIRED) gentoo-dev 2007-01-27 21:34:22 UTC
I vote yes.
Comment 21 Sune Kloppenborg Jeppesen (RETIRED) gentoo-dev 2007-01-27 22:48:48 UTC
Another NO vote.
Comment 22 Vic Fryzel (shellsage) (RETIRED) gentoo-dev 2007-01-28 03:31:55 UTC
I don't know how I voted twice, with conflicting votes, but I really did mean to vote no.
Comment 23 Raphael Marichez (Falco) (RETIRED) gentoo-dev 2007-02-10 22:26:51 UTC
noglsa feel free to reopen if you disagree