Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 59715 - net-www/apache-1.3.31-r2 still using old mod-ssl
Summary: net-www/apache-1.3.31-r2 still using old mod-ssl
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Security
URL: http://www.modssl.org/
Whiteboard: A? [stable] jaervosz
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-07 10:47 UTC by fbusse
Modified: 2011-10-30 22:41 UTC (History)
3 users (show)

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


Attachments
Patch to update apache-1.3.31-r2's mod_ssl dependencie. (apache-1.3.31-r2.ebuild.diff,257 bytes, patch)
2004-08-16 12:22 UTC, Minati jean michel
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description fbusse 2004-08-07 10:47:06 UTC
According to the modssl-homepage, there has been a security-related bug been fixed, so I suggest updating the mod_ssl dependency.
From mod_ssl-CHANGES:
*) Fix ssl_log() related format string vulnerability in mod_proxy
   hook functions.
Comment 1 Thierry Carrez (RETIRED) gentoo-dev 2004-08-08 02:59:26 UTC
this is what GLSA 200407-18 was about. People with apache installed would upgrade their mod_ssl.

There apparently is a problem because apache-1.3.* ebuilds require a specific version of mod_ssl, and affected versions are still in the tree. People installing apache now would get an vulnerable mod_ssl, and would need reapplying the GLSA to get protected.

zul : could you please look into it and correct the dependency ?
Comment 2 Sune Kloppenborg Jeppesen (RETIRED) gentoo-dev 2004-08-12 09:19:15 UTC
zul is apparantly away. Stuart will you look into this?
Comment 3 Stuart Herbert (RETIRED) gentoo-dev 2004-08-12 15:19:20 UTC
I'll look into this as soon as possible on Friday.

Best regards,
Stu
Comment 4 Sune Kloppenborg Jeppesen (RETIRED) gentoo-dev 2004-08-15 12:06:25 UTC
zul is away and stuart is away from anything resembling apache 1.3 so this is will take a bit longer than first expected.
Comment 5 Minati jean michel 2004-08-16 12:22:45 UTC
Created attachment 37550 [details, diff]
Patch to update apache-1.3.31-r2's mod_ssl dependencie.

The change seems quite simple.I just bumped 
mod_ssl_ver to 2.8.19 .
then I emerged both apache-1.3.31 and mod_ssl.from the logs ,the good versions
are installed :
[Tue Aug 17 21:33:09 2004] [notice] Apache/1.3.31 (Unix)  (Gentoo/Linux)
mod_ssl/2.8.19 OpenSSL/0.9.7d configured -- resuming normal operations
Comment 6 Stuart Herbert (RETIRED) gentoo-dev 2004-08-17 07:32:24 UTC
apache-1.31-r3 is now in Portage, and needs marking stable on all arches.

Big thanks to magnet for testing this for me.

Best regards,
Stu
Comment 7 Sune Kloppenborg Jeppesen (RETIRED) gentoo-dev 2004-08-17 23:27:41 UTC
Arches please mark stable.
Comment 8 Pieter Van den Abeele (RETIRED) gentoo-dev 2004-08-18 07:56:49 UTC
fixed on ppc
Comment 9 Aron Griffis (RETIRED) gentoo-dev 2004-08-18 08:35:25 UTC
stable on alpha and ia64
Comment 10 Hardave Riar (RETIRED) gentoo-dev 2004-08-18 09:56:44 UTC
Stable on mips
Comment 11 Jason Wever (RETIRED) gentoo-dev 2004-08-18 19:41:01 UTC
Stable on sparc.
Comment 12 Danny van Dyk (RETIRED) gentoo-dev 2004-08-25 13:25:57 UTC
Removed amd64@g.o from CC
Comment 13 Sune Kloppenborg Jeppesen (RETIRED) gentoo-dev 2004-08-26 08:36:09 UTC
amd64 please mark 1.3.31-r3 stable
Comment 14 Guy Martin (RETIRED) gentoo-dev 2004-08-28 11:07:35 UTC
Stable on hppa.
Comment 15 Sune Kloppenborg Jeppesen (RETIRED) gentoo-dev 2004-08-31 01:00:23 UTC
***bump***
amd64 please mark stable
***bump***
Comment 16 Thierry Carrez (RETIRED) gentoo-dev 2004-09-01 06:46:43 UTC
This will require a GLSA erratum (when ready).
Comment 17 Sune Kloppenborg Jeppesen (RETIRED) gentoo-dev 2004-09-01 07:25:41 UTC
Afaik the only thing used from the vulnerable mod_ssl version is:

        # setup eapi...
        myssl=${WORKDIR}/mod_ssl-${mod_ssl_ver}-${PV}
        cp ${myssl}/pkg.eapi/*.h src/include
        cp ${myssl}/pkg.eapi/*.c src/ap
        epatch ${myssl}/pkg.eapi/eapi.patch || die "eapi"

$ diff mod_ssl-2.8.19-1.3.31/pkg.eapi/eapi.patch mod_ssl-2.8.18-1.3.31/pkg.eapi/eapi.patch
10c10
< ## Created on: 16-Jul-2004
---
> ## Created on: 27-May-2004

All other files in the directory are unchanged so I really think this is a minor issue and that we should not do anything GLSA wise.
Comment 18 Travis Tilley (RETIRED) gentoo-dev 2004-09-01 09:17:02 UTC
...why would amd64 mark stable something it doesnt have a keyword for?

!!! All ebuilds that could satisfy "mod_ssl" have been masked.
!!! One of the following masked packages is required to complete your request:
- net-www/mod_ssl-2.8.18 (masked by: missing keyword)
- net-www/mod_ssl-2.8.17 (masked by: missing keyword)
- net-www/mod_ssl-2.8.19 (masked by: missing keyword)
Comment 19 Sune Kloppenborg Jeppesen (RETIRED) gentoo-dev 2004-09-01 09:30:41 UTC
Because apache-1.3.31-r2.ebuild lists:

SRC_URI="http://www.apache.org/dist/httpd/apache_${PV}.tar.gz
    ftp://ftp.modssl.org/source/mod_ssl-${mod_ssl_ver}-${PV}.tar.gz"

and

DEPEND="dev-lang/perl <=sys-libs/db-4.1
    >=dev-libs/mm-1.1.3
    >=sys-libs/gdbm-1.8
    >=dev-libs/expat-1.95.2
    >=sys-apps/sed-4
    =sys-libs/db-1.85-r1
    selinux? ( sec-policy/selinux-apache )"

So it has nothing to do with net-www/mod_ssl-2.8.18.ebuild

It's really a minor issue but I don't see why this minor fix cannot be marked stable?

# diff apache-1.3.31-r2.ebuild apache-1.3.31-r3.ebuild
3c3
< # $Header: /var/cvsroot/gentoo-x86/net-www/apache/apache-1.3.31-r2.ebuild,v 1.12 2004/08/30 19:37:02 solar Exp $
---
> # $Header: /var/cvsroot/gentoo-x86/net-www/apache/apache-1.3.31-r3.ebuild,v 1.9 2004/08/30 19:37:02 solar Exp $
9c9
< mod_ssl_ver=2.8.18
---
> mod_ssl_ver=2.8.19
15c15
< KEYWORDS="x86 ppc sparc alpha hppa amd64 ia64 mips"
---
> KEYWORDS="x86 ppc sparc alpha hppa ~amd64 ia64 mips"
46c46
<               epatch ${FILESDIR}/patches/${PVR}/00_gentoo_suexec_pam.patch
---
>               epatch ${FILESDIR}/patches/${PATCH_LEVEL}/00_gentoo_suexec_pam.patch

Comment 20 Travis Tilley (RETIRED) gentoo-dev 2004-09-01 10:10:47 UTC
ahh... well dont i feel silly. stable on amd64.
Comment 21 Sune Kloppenborg Jeppesen (RETIRED) gentoo-dev 2004-09-01 14:16:47 UTC
Closing without GLSA.