Bug 1079042
Summary: | MD5 makes ruby interpreter crash in FIPS mode (again) | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | jared jennings <jjennings> | ||||
Component: | ruby | Assignee: | Vít Ondruch <vondruch> | ||||
Status: | CLOSED WONTFIX | QA Contact: | BaseOS QE - Apps <qe-baseos-apps> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 6.6 | CC: | janarula, joseph.yaworski, vondruch | ||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2014-10-21 08:30:59 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 1075802 | ||||||
Attachments: |
|
Description
jared jennings
2014-03-20 20:26:54 UTC
As detailed in the upstream bug, the fix I suggested in the description above will not work. Hi Jared, Thank you for reporting into BZ as well as opening upstream ticket. I am wondering, if you are testing just with 1.8.7 or with latest upsteram version. I am asking, since I doubt that upstream would be interested in 1.8.7. But if you worked on trunk, it could result in some backportable patch ... BTW you might be interested to test Ruby 2.0.0 in RHEL7 beta as well. Created attachment 880030 [details]
Patches Ruby 1.8.7-p352 to check for MD5 digest init failure in ext/digest.
This one patch is the same as the three patches posted to the upstream bug, but backported to Ruby 1.8.7-p352 as found in RHEL6. It applies cleanly when done immediately after Patch46, the earlier md5 digest init fail patch for ext/openssl.
You may want to look at the upstream bug to see all of the things I'm not sure I did in the best way possible in this patch. Vít, since the Ruby trunk has this problem, I'd imagine Ruby 2.0 as found in RHEL7 beta would too. Hi Jared, Looking closer at your patch, I don't think it is acceptable for Ruby 1.8.7 in RHEL6. Since you are changing function signatures on several places (although just return value), I am afraid that it breaks API/ABI and hence it could break existing applications/libraries. That's a fair analysis, Vít. Obviously I would have liked to avoid changing the API but I couldn't see any way around it, and I still can't. Is there any Ruby interpreter available from Red Hat which can have this patch applied to it? (ruby193 software collection? ruby in RHEL7?) Or are they all subject to the same concerns over API/ABI breakage? Put the opposite way: Does this fix have to happen solely in the upstream, and then percolate into Red Hat products over years? If that is so, please say it in the upstream issue, because they may think this problem is sort of Red Hat-specific. I'd hate to arrive at a ... eheh, 'Patch-22.' (In reply to jared jennings from comment #8) Hi Jared, Sorry for late reply. > Is there any Ruby interpreter available from Red Hat which can have this > patch applied to it? (ruby193 software collection? ruby in RHEL7?) Or are > they all subject to the same concerns over API/ABI breakage? Well, as long as it breaks API/ABI, there is no way how to apply the patch into minor release of our product. I.e. the first possibilities to introduce this patch would be RHEL8 or RHSCL2, but not much known yet about them. > Put the > opposite way: Does this fix have to happen solely in the upstream, and then > percolate into Red Hat products over years? Well, this depends on timing, but upstreaming the patch is of course the best think. > If that is so, please say it in > the upstream issue, because they may think this problem is sort of Red > Hat-specific. I'd hate to arrive at a ... eheh, 'Patch-22.' Done, not sure if that helps. Hello Jared, The patches were accepted upstream and will go into Ruby 2.2. However, since they break API/ABI I am afraid I can't do more for you ATM and hence closing the ticket as WONTFIX. |