Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 848380 Details for
Bug 1051670
CVE-2014-0006 Openstack Swift: TempURL timing attack
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
CVE-2014-0006-grizzly.diff
CVE-2014-0006-grizzly.diff (text/plain), 1.64 KB, created by
Kurt Seifried
on 2014-01-10 20:46:13 UTC
(
hide
)
Description:
CVE-2014-0006-grizzly.diff
Filename:
MIME Type:
Creator:
Kurt Seifried
Created:
2014-01-10 20:46:13 UTC
Size:
1.64 KB
patch
obsolete
>commit abe79e61601488b4cced6ac4a25e8076f105472f >Author: Samuel Merritt <sam@swiftstack.com> >Date: Fri Jan 3 09:38:38 2014 -0800 > > backport of tempurl patch to 1.8.0 > > Change-Id: Ib7bc7474b8d3b060323afd9d7e03fe34cd3c38f9 > >diff --git a/swift/common/middleware/tempurl.py b/swift/common/middleware/tempurl.py >index 5a05de7..8a2517e 100644 >--- a/swift/common/middleware/tempurl.py >+++ b/swift/common/middleware/tempurl.py >@@ -98,6 +98,7 @@ from urlparse import parse_qs > > from swift.common.wsgi import make_pre_authed_env > from swift.common.http import HTTP_UNAUTHORIZED >+from swift.common.utils import streq_const_time > > > #: Default headers to remove from incoming requests. Simply a whitespace >@@ -248,14 +249,14 @@ class TempURL(object): > if env['REQUEST_METHOD'] == 'HEAD': > hmac_val = self._get_hmac(env, temp_url_expires, key, > request_method='GET') >- if temp_url_sig != hmac_val: >+ if not streq_const_time(temp_url_sig, hmac_val): > hmac_val = self._get_hmac(env, temp_url_expires, key, > request_method='PUT') >- if temp_url_sig != hmac_val: >+ if not streq_const_time(temp_url_sig, hmac_val): > return self._invalid(env, start_response) > else: > hmac_val = self._get_hmac(env, temp_url_expires, key) >- if temp_url_sig != hmac_val: >+ if not streq_const_time(temp_url_sig, hmac_val): > return self._invalid(env, start_response) > self._clean_incoming_headers(env) > env['swift.authorize'] = lambda req: None
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1051670
: 848380 |
848381
|
848382