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 1183982 - Memory corruption when using oauth because of implicit declaration of rest_proxy_call_get_url
Summary: Memory corruption when using oauth because of implicit declaration of rest_pr...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: rest
Version: 7.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Debarshi Ray
QA Contact: Lukáš Zachar
URL:
Whiteboard:
Depends On:
Blocks: CVE-2015-2675
TreeView+ depends on / blocked
 
Reported: 2015-01-20 11:09 UTC by Christophe Fergeau
Modified: 2015-11-19 08:33 UTC (History)
3 users (show)

Fixed In Version: rest-0.7.92-2.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-19 08:33:31 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
GNOME Bugzilla 742644 0 None None None Never
Red Hat Product Errata RHSA-2015:2237 0 normal SHIPPED_LIVE Low: rest security update 2015-11-19 09:00:16 UTC

Description Christophe Fergeau 2015-01-20 11:09:54 UTC
See https://bugzilla.gnome.org/show_bug.cgi?id=742644 for a detailed description:

« 
Debarshi Ray [reporter] [developer] 2015-01-09 13:37:20 UTC 


The librest build has this warning which is not as harmless as it might appear:
  CC       librest_0.7_la-oauth-proxy-call.lo
oauth-proxy-call.c: In function 'sign_hmac':
oauth-proxy-call.c:130:3: warning: implicit declaration of function
'rest_proxy_call_get_url' [-Wimplicit-function-declaration]
   url_str = rest_proxy_call_get_url (call);
   ^
oauth-proxy-call.c:130:11: warning: assignment makes pointer from integer
without a cast
   url_str = rest_proxy_call_get_url (call);
           ^
The compiler assumes int as the return type, but in reality it returns a
pointer. Using the function without a prototype will lead to memory errors when
the size of an int is not the same as a pointer.

You can trigger a crash by running the EnsureCredentials method from the
org.gnome.OnlineAccounts.Account interface on an object representing a Flickr
account.
»

Fixed by https://git.gnome.org/browse/librest/commit/?id=b50ace7738ea03817acdad87fb2b338a86018329

Comment 1 Christophe Fergeau 2015-01-20 11:11:44 UTC
Moving to POST as a patch is available for this issue.

Comment 3 Florian Weimer 2015-03-04 10:57:03 UTC
CVE request posted: http://www.openwall.com/lists/oss-security/2015/03/04/6

Comment 12 Debarshi Ray 2015-05-07 16:21:34 UTC
I have built rest-0.7.92-2.el7:
https://brewweb.devel.redhat.com/taskinfo?taskID=9127499

Comment 16 errata-xmlrpc 2015-11-19 08:33:31 UTC
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.

https://rhn.redhat.com/errata/RHSA-2015-2237.html


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