]> git.pld-linux.org Git - packages/apache.git/commitdiff
- rel 2; fixes CVE-2016-5387 auto/th/apache-2.4.23-2
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 19 Jul 2016 11:28:40 +0000 (13:28 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 19 Jul 2016 11:28:40 +0000 (13:28 +0200)
apache-CVE-2016-5387.patch [new file with mode: 0644]
apache.spec

diff --git a/apache-CVE-2016-5387.patch b/apache-CVE-2016-5387.patch
new file mode 100644 (file)
index 0000000..b8e9c14
--- /dev/null
@@ -0,0 +1,19 @@
+diff --git a/server/util_script.c b/server/util_script.c
+index 5e071a2..443dfb6 100644
+--- a/server/util_script.c
++++ b/server/util_script.c
+@@ -186,6 +186,14 @@ AP_DECLARE(void) ap_add_common_vars(request_rec *r)
+         else if (!ap_cstr_casecmp(hdrs[i].key, "Content-length")) {
+             apr_table_addn(e, "CONTENT_LENGTH", hdrs[i].val);
+         }
++        /* HTTP_PROXY collides with a popular envvar used to configure
++         * proxies, don't let clients set/override it.  But, if you must...
++         */
++#ifndef SECURITY_HOLE_PASS_PROXY
++        else if (!ap_cstr_casecmp(hdrs[i].key, "Proxy")) {
++            ;
++        }
++#endif
+         /*
+          * You really don't want to disable this check, since it leaves you
+          * wide open to CGIs stealing passwords and people viewing them
index c4e2b9715ac4c5d4941500f7dd111321c66c22c6..f4e8f1d240008be22da9c58a54fe5469ae3ef0b7 100644 (file)
@@ -35,7 +35,7 @@ Summary(ru.UTF-8):    Самый популярный веб-сервер
 Summary(tr.UTF-8):     Lider WWW tarayıcı
 Name:          apache
 Version:       2.4.23
-Release:       1
+Release:       2
 License:       Apache v2.0
 Group:         Networking/Daemons/HTTP
 Source0:       http://www.apache.org/dist/httpd/httpd-%{version}.tar.bz2
@@ -77,6 +77,7 @@ Patch1:               %{name}-layout.patch
 Patch2:                %{name}-suexec.patch
 Patch3:                %{name}-branding.patch
 Patch4:                %{name}-apr.patch
+Patch5:                apache-CVE-2016-5387.patch
 
 Patch7:                %{name}-syslibs.patch
 
@@ -2641,6 +2642,7 @@ Dwa programy testowe/przykładowe cgi: test-cgi and print-env.
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
 
 %patch7 -p1
 
This page took 0.052188 seconds and 4 git commands to generate.