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

Filename Description Type Creator Created Size Actions
lighttpd-1.4.x_duplicated_headers_with_folding_crash.patch lighttpd-1.4.x_duplicated_headers_with_folding_crash.patch patch Sune Kloppenborg Jeppesen 2007-07-15 19:23 0000 3.49 KB Details | Diff
lighttpd-1.4.x_mod_access_bypass.patch lighttpd-1.4.x_mod_access_bypass.patch patch Sune Kloppenborg Jeppesen 2007-07-15 19:23 0000 4.24 KB Details | Diff
lighttpd-1.4.x_mod_fastcgi_local_dos.patch lighttpd-1.4.x_mod_fastcgi_local_dos.patch patch Sune Kloppenborg Jeppesen 2007-07-15 19:23 0000 892 bytes Details | Diff
lighttpd-1.4.15-r1.ebuild lighttpd-1.4.15-r1.ebuild text/plain Thilo Bangert 2007-07-15 22:01 0000 5.68 KB Details
07_all_lighttpd-1.4.15-duplicated_headers_with_folding_crash.diff 07_all_lighttpd-1.4.15-duplicated_headers_with_folding_crash.diff text/plain Thilo Bangert 2007-07-15 22:02 0000 3.09 KB Details
08_all_lighttpd-1.4.15-mod_acces_bypass.diff 08_all_lighttpd-1.4.15-mod_access_bypass.diff text/plain Thilo Bangert 2007-07-15 22:02 0000 3.69 KB Details
09_all_lighttpd-1.4.15-mod_fastcgi_local_dos.diff 09_all_lighttpd-1.4.15-mod_fastcgi_local_dos.diff text/plain Thilo Bangert 2007-07-15 22:05 0000 463 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 185442 depends on: Show dependency tree
Bug 185442 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: 2007-07-15 19:21 0000
Attaching patches in a moment.

------- Comment #1 From Sune Kloppenborg Jeppesen 2007-07-15 19:23:12 0000 -------
Created an attachment (id=124941) [details]
lighttpd-1.4.x_duplicated_headers_with_folding_crash.patch

------- Comment #2 From Sune Kloppenborg Jeppesen 2007-07-15 19:23:32 0000 -------
Created an attachment (id=124943) [details]
lighttpd-1.4.x_mod_access_bypass.patch

------- Comment #3 From Sune Kloppenborg Jeppesen 2007-07-15 19:23:49 0000 -------
Created an attachment (id=124944) [details]
lighttpd-1.4.x_mod_fastcgi_local_dos.patch

------- Comment #4 From Sune Kloppenborg Jeppesen 2007-07-15 19:29:55 0000 -------
Thilo please provide an updated ebuild for prestable testing. Friendly note: Do
NOT commit anything yet.

Further details (not patches) will be attached later.

------- Comment #5 From Thilo Bangert 2007-07-15 22:01:48 0000 -------
Created an attachment (id=124966) [details]
lighttpd-1.4.15-r1.ebuild

------- Comment #6 From Thilo Bangert 2007-07-15 22:02:19 0000 -------
Created an attachment (id=124968) [details]
07_all_lighttpd-1.4.15-duplicated_headers_with_folding_crash.diff

------- Comment #7 From Thilo Bangert 2007-07-15 22:02:54 0000 -------
Created an attachment (id=124969) [details]
08_all_lighttpd-1.4.15-mod_access_bypass.diff

------- Comment #8 From Thilo Bangert 2007-07-15 22:05:50 0000 -------
Created an attachment (id=124971) [details]
09_all_lighttpd-1.4.15-mod_fastcgi_local_dos.diff

drop the patches into files/1.4.15/ and use the attached ebuild.
the patches have been modified in naming (as to work with epatch) and minor
layout (remove header) and the NEWS section update of the duplicate headers
patch has been removed (clash)

------- Comment #9 From Sune Kloppenborg Jeppesen 2007-07-16 19:36:09 0000 -------
Thx Thilo for the fast response.

Arch security liaisons please test and report back on this bug.

------- Comment #10 From Sune Kloppenborg Jeppesen 2007-07-16 19:44:15 0000 -------
*** Bug 185549 has been marked as a duplicate of this bug. ***

------- Comment #11 From Markus Rothe 2007-07-16 19:45:37 0000 -------
compiles and runs fine on ppc64

------- Comment #12 From Jeroen Roovers 2007-07-16 22:07:11 0000 -------
Works for hppa.

------- Comment #13 From Gustavo Zacarias (RETIRED) 2007-07-17 14:19:03 0000 -------
sparc okie dokie.

------- Comment #14 From Sune Kloppenborg Jeppesen 2007-07-17 17:53:46 0000 -------
Release date is tomorrow, still need status from:

x86 ppc amd64 alpha

------- Comment #15 From Thilo Bangert 2007-07-20 06:23:10 0000 -------
the next 10 days i'll be on vacation and thus not able to commit this babe... 
sorry.

------- Comment #16 From Stefan Cornelius (RETIRED) 2007-07-20 13:13:50 0000 -------
public now. somebody please commit this.

------- Comment #17 From Pierre-Yves Rofes 2007-07-20 13:25:48 0000 -------
*** Bug 185978 has been marked as a duplicate of this bug. ***

------- Comment #18 From Christian Heim (RETIRED) 2007-07-20 13:41:30 0000 -------
(In reply to comment #14)
> Release date is tomorrow, still need status from:
> 
> x86 ppc amd64 alpha

Works for me on x86 and amd64 (passes collision-protect and works like before),
though I'm no arch team person.

------- Comment #19 From Markus Rothe 2007-07-20 13:43:05 0000 -------
I just wanted to commit, but wasn't sure how to do so. If we drop the patches
in ${FILESDIR}/1.4.15, then 1.4.15-r1 will be the exact same ebuild as 1.4.15
and everybody who compiles 1.4.15 will get the patches from this bug, too.

( Due to this line in the ebuild:
EPATCH_SUFFIX="diff" EPATCH_OPTS="-l" epatch ${FILESDIR}/${PV} || die "Patching
failed!" )

I could create ${FILESDIR}/1.4.15-r1, but then we have to copy over the files
from ${FILESDIR}/1.4.15, which means duplicated patches in CVS. I would do the
copy, but as this is not my package I would like to hear a comment before I
commit.

------- Comment #20 From Gustavo Zacarias (RETIRED) 2007-07-20 13:56:45 0000 -------
There's another bug as pointed by smithj, it's RPL-1554
(https://issues.rpath.com/browse/RPL-1554 and
http://lists.rpath.com/pipermail/distro-commits/2007-July/055669.html).
It's patched in 1.4.15-r1 in the tree so arches will have to stable themselves
because of this addition.
Corsair: switch to PVR, duplicate it for now (with 1.4.15-r1 having the sec
patches) and when arches are done do a simple cleanup.
Security: arches should be called in now.

------- Comment #21 From Markus Rothe 2007-07-20 18:16:23 0000 -------
gustavoz: thanks for commiting, real life catched me for some hours..

ppc64 stable

------- Comment #22 From Jeroen Roovers 2007-07-20 19:36:35 0000 -------
Stable for HPPA.

------- Comment #23 From Gustavo Zacarias (RETIRED) 2007-07-20 21:08:13 0000 -------
sparc stable.

------- Comment #24 From Raúl Porcel 2007-07-21 17:22:42 0000 -------
make[3]: Entering directory
`/var/tmp/portage/www-servers/lighttpd-1.4.15-r1/work/lighttpd-1.4.15/tests'
cp: cannot stat `./docroot/www/*.html~': No such file or directory
preparing infrastructure                PASS: prepare.sh
./core-var-include....ok
./core-condition......ok
./core-request........ok
./core-response.......ok
./core-keepalive......ok
./core................ok
./mod-access..........# status failed: expected '403', got '404'

#   Failed test '\#1230 - forbid access to ...~ - trailing slash'
#   at ./mod-access.t line 31.
# Looks like you failed 1 test of 4.
dubious
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 3
        Failed 1/4 tests, 75.00% okay
./mod-auth............ok
./mod-cgi.............ok
./mod-compress........ok
./mod-fastcgi.........# header vary is duplicated: Accept-Encoding and
Accept-Encoding
ok
        34/47 skipped: various reasons
./mod-redirect........ok
./mod-userdir.........ok
./mod-rewrite.........ok
        5/5 skipped: various reasons
./request.............ok
./mod-ssi.............ok
./mod-setenv..........ok
./lowercase...........ok
./cachable............ok
Failed Test    Stat Wstat Total Fail  List of Failed
-------------------------------------------------------------------------------
./mod-access.t    1   256     4    1  3
39 subtests skipped.
Failed 1/19 test scripts. 1/278 subtests failed.
Files=19, Tests=278, 10 wallclock secs ( 2.33 cusr +  0.42 csys =  2.75 CPU)
Failed 1/19 test programs. 1/278 subtests failed.
FAIL: run-tests.pl
cleaning up                             PASS: cleanup.sh
================================
1 of 3 tests failed
Please report to jan@kneschke.de
================================
make[3]: *** [check-TESTS] Error 1
make[3]: Leaving directory
`/var/tmp/portage/www-servers/lighttpd-1.4.15-r1/work/lighttpd-1.4.15/tests'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory
`/var/tmp/portage/www-servers/lighttpd-1.4.15-r1/work/lighttpd-1.4.15/tests'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/www-servers/lighttpd-1.4.15-r1/work/lighttpd-1.4.15/tests'
make: *** [check-recursive] Error 1

Should we ignore them? actual stable version works fine

------- Comment #25 From Christian Faulhammer 2007-07-25 07:01:04 0000 -------
x86 stable, the test failure is caused by the mod_access patch, but seems to be
no loss in functionality....so I say: Go.

------- Comment #26 From Raúl Porcel 2007-07-25 13:53:14 0000 -------
alpha/ia64 stable

Removing liaisons and adding remaining arches

------- Comment #27 From Tobias Scherbaum 2007-07-27 20:59:55 0000 -------
Same test failure on ppc, ppc stable

------- Comment #28 From Pierre-Yves Rofes 2007-07-30 09:58:25 0000 -------
adding refs.

------- Comment #29 From Christoph Mende 2007-07-31 19:37:22 0000 -------
amd64 stable

------- Comment #30 From Matt Drew 2007-08-05 10:51:21 0000 -------
1.4.16 has been released - are we interested in moving to that for easier
maintenance or sticking with our patchset?

------- Comment #31 From Thilo Bangert 2007-08-05 13:09:55 0000 -------
well - someone will surely ask for it, so I put it in. I don't know where the
scgi patch comes from, and it looks like it hasn't been applied upstream, so i
left it out... for now.

security: can you advice? the subject mentions five CVEs, there is only three
patches on this bug, while the release announcement by lighttpd lists four (and
no CVEs).

Anyway, it appears that the three patches on this bug are covered by the 1.4.16
release. So, ARM: Please mark 1.4.16 stable instead of 1.4.15-r1. Thanks.

------- Comment #32 From Pierre-Yves Rofes 2007-08-09 09:51:46 0000 -------
Thilo: according to http://www.lighttpd.net/download, the patch about mod_auth
covers 4 issues, and secunia added one more CVE ref...
wrt to the current situation, I'd tend to say that it would be much simpler to
stabilize 1.4.16 instead of trying to figure out this patching mess.
I'm sorry for putting more work on arches teams, but I think that's the best
way to go from here.

------- Comment #33 From Thilo Bangert 2007-08-09 17:44:04 0000 -------
arch teams: please mark stable: lighttpd-1.4.16

------- Comment #34 From Gustavo Zacarias (RETIRED) 2007-08-09 18:16:21 0000 -------
sparc stable.

------- Comment #35 From Christian Faulhammer 2007-08-10 06:40:23 0000 -------
x86 stable, changing status to "stable" again.

------- Comment #36 From Raúl Porcel 2007-08-10 13:42:38 0000 -------
alpha/ia64 stable

------- Comment #37 From Markus Rothe 2007-08-10 17:46:43 0000 -------
ppc64 stable

------- Comment #38 From Steve Dibb 2007-08-12 14:48:10 0000 -------
amd64 stable

------- Comment #39 From Tobias Scherbaum 2007-08-14 18:04:56 0000 -------
ppc stable

------- Comment #40 From Raphael Marichez 2007-08-14 23:01:47 0000 -------
hppa, does something cause any trouble?

------- Comment #41 From Jeroen Roovers 2007-08-15 01:56:43 0000 -------
(In reply to comment #40)
> hppa, does something cause any trouble?

No, we're just temporarily understaffed.

Stable for HPPA.

------- Comment #42 From Sune Kloppenborg Jeppesen 2007-08-15 05:43:50 0000 -------
Rerating and setting status to glsa.

------- Comment #43 From Raphael Marichez 2007-08-16 22:05:56 0000 -------
GLSA 200708-11, thanks everybody (in time, at last ;) )

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