RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 848474 - crypto module function subject_name_hash returns negative numbers on 32 bit hosts
Summary: crypto module function subject_name_hash returns negative numbers on 32 bit h...
Keywords:
Status: CLOSED DUPLICATE of bug 1036853
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: pyOpenSSL
Version: 6.5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Tomas Mraz
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-15 17:07 UTC by Nathanael Noblet
Modified: 2015-02-26 15:13 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-02-26 15:13:38 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Nathanael Noblet 2012-08-15 17:07:37 UTC
Description of problem:
The python module uses PyLong_FromLong instead of PyLong_FromLongLong or FromUnsignedLong which on 32 bit hosts results in integer overflow and negative integer responses. This affects programs like func which use the hashes as part of their ACL infrastructure.

See bug: https://bugzilla.redhat.com/show_bug.cgi?id=756831 for what was reported against Fedora 15 at the time. I just noticed RHEL had an older version of pyOpenSSL so figured I should report this. Its a simple backport/fix.


How reproducible:
Always ( I haven't actually tested this on RHEL just noticed the version number and figured its likely affected)

Steps to Reproduce:
1. Use pyOpenSSL on a 32bit host
  
Actual results:
integer overflow

Expected results:
proper hashes

Comment 2 RHEL Program Management 2012-09-07 05:25:48 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unable to address this
request at this time.

Red Hat invites you to ask your support representative to
propose this request, if appropriate, in the next release of
Red Hat Enterprise Linux.

Comment 3 Tomas Mraz 2015-02-26 15:13:38 UTC
Fixed by the planned rebase.

*** This bug has been marked as a duplicate of bug 1036853 ***


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