Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 983292 - python-beaker does not work in FIPS environment (in luci deployment)
python-beaker does not work in FIPS environment (in luci deployment)
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: python-beaker (Show other bugs)
6.4
All Linux
high Severity high
: rc
: 6.4
Assigned To: Jan Pokorný
qe-baseos-daemons
: Patch
Depends On: 783158
Blocks: BaseOS-FIPS-Tracker 782183 802364 840699 956360
  Show dependency treegraph
 
Reported: 2013-07-10 17:49 EDT by Jan Pokorný
Modified: 2013-11-21 18:53 EST (History)
16 users (show)

See Also:
Fixed In Version: python-beaker-1.3.1-7.el6
Doc Type: Bug Fix
Doc Text:
Cause: Beaker, a middleware dedicated to web application's cache and session data management, used to yield unique session identification as hex-encoded MD5 digest of variable inputs. Nowadays, this algorithm is discouraged, and in turn implicitly refused by Python's runtime in case of FIPS mode. Consequence: Some web applications using Beaker for sessions handling may not work correctly under FIPS mode. Fix: In parallel with upstream development, session identification is yielded as base64-encoded SHA1 digest of variable inputs. Result: Beaker no longer actively uses MD5 in the default setup, so even the session handling in respective web applications does not suffer in FIPS mode.
Story Points: ---
Clone Of: 956360
: 996219 (view as bug list)
Environment:
Last Closed: 2013-11-21 18:53:21 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Proposed patch (1.52 KB, patch)
2013-07-10 17:53 EDT, Jan Pokorný
no flags Details | Diff
Polished patch (4.16 KB, patch)
2013-07-15 17:38 EDT, Jan Pokorný
no flags Details | Diff


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 116403 None None None Never
Red Hat Product Errata RHBA-2013:1724 normal SHIPPED_LIVE python-beaker bug fix update 2013-11-20 16:51:30 EST

  None (edit)
Comment 1 Jan Pokorný 2013-07-10 17:53:17 EDT
Created attachment 771873 [details]
Proposed patch

Upstream is a bit further as of now, however still contains very similar
bits; analogous patch proposed [1].  Based on the feedback, also the
current patch may change, otherwise I consider it final.

[1] https://github.com/bbangert/beaker/pull/45
Comment 3 Jan Pokorný 2013-07-15 17:38:08 EDT
Created attachment 773920 [details]
Polished patch

This reflects the changes proposed to upstream more tightly
(all md5 uses converted + fix a "seld" typo).
Comment 4 Jan Pokorný 2013-08-06 12:32:40 EDT
New pull request (rebased on the current head, also turned to be CI passing
whereas the new changes passed as well) accepted: [2]

[2] https://github.com/bbangert/beaker/pull/49#ref-pullrequest-16598672
Comment 13 errata-xmlrpc 2013-11-21 18:53:21 EST
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-1724.html

Note You need to log in before you can comment on or make changes to this bug.