mirror of
https://github.com/thead-yocto-mirror/meta-openembedded
synced 2026-09-16 12:12:16 +02:00
apache2: update to version 2.4.25
Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
committed by
Martin Jansa
parent
e873c0e6e3
commit
9148d8b824
@@ -1,25 +0,0 @@
|
||||
This patch has been copied from https://www.apache.org/security/asf-httpoxy-response.txt
|
||||
as a mitigation of CVE-2016-5387.
|
||||
|
||||
Upstream-Status: Backport - fixed in 2.4.24
|
||||
|
||||
Signed-off-by: Joe Slater<jslater@windriver.com>
|
||||
|
||||
|
||||
--- a/server/util_script.c (revision 1752426)
|
||||
+++ b/server/util_script.c (working copy)
|
||||
@@ -186,6 +186,14 @@ AP_DECLARE(void) ap_add_common_vars(request_rec *r
|
||||
else if (!strcasecmp(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 (!strcasecmp(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
|
||||
Reference in New Issue
Block a user