Blame SOURCES/yum-rhn-plugin-2.0.1-6-el7-to-yum-rhn-plugin-2.0.1-7-el7.patch

3e449f
diff --git a/rhnplugin.py b/rhnplugin.py
3e449f
index a2681c2..8f1cba0 100644
3e449f
--- a/rhnplugin.py
3e449f
+++ b/rhnplugin.py
3e449f
@@ -427,7 +427,7 @@ class RhnRepo(YumRepository):
3e449f
             # but we have to send and empty X-RHN-Auth-User-Id ...
3e449f
             AuthUserH = 'X-RHN-Auth-User-Id'
3e449f
             if (AuthUserH in self.http_headers and not self.http_headers[AuthUserH]):
3e449f
-                self.http_headers[AuthUserH] = "\nX-libcurl-Empty-Header-Workaround: *"
3e449f
+                self.http_headers[AuthUserH] = "\r\nX-libcurl-Empty-Header-Workaround: *"
3e449f
 
3e449f
         # Turn our dict into a list of 2-tuples
3e449f
         headers = YumRepository._YumRepository__headersListFromDict(self)   # pylint: disable-msg=E1101
3e449f
diff --git a/yum-rhn-plugin.spec b/yum-rhn-plugin.spec
02fff0
index 1ced7dc..83c64d8 100644
3e449f
--- a/yum-rhn-plugin.spec
3e449f
+++ b/yum-rhn-plugin.spec
3e449f
@@ -1,7 +1,7 @@
3e449f
 Summary: Spacewalk support for yum
3e449f
 Name: yum-rhn-plugin
3e449f
 Version: 2.0.1
3e449f
-Release: 6%{?dist}
02fff0
+Release: 7%{?dist}
3e449f
 License: GPLv2
3e449f
 Group: System Environment/Base
3e449f
 Source0: https://fedorahosted.org/releases/s/p/spacewalk/%{name}-%{version}.tar.gz
3e449f
@@ -70,6 +70,10 @@ fi
3e449f
 %doc LICENSE
3e449f
 
3e449f
 %changelog
02fff0
+* Mon Feb 20 2017 Tomas Kasparek <tkasparek@redhat.com> 2.0.1-7
02fff0
+- Resolves: #1423007 - request failed: error reading the headers
3e449f
+  (CVE-2016-8743) (pstudeni@redhat.com)
3e449f
+
3e449f
 * Mon Jul 25 2016 Tomas Kasparek <tkasparek@redhat.com> 2.0.1-6
3e449f
 - Resolves: #1359087 - expect additional arguments (tkasparek@redhat.com)
3e449f