Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 438444 (CVE-2012-4516) - <sys-fabric/librdmacm-1.0.18: Tried to connect to port 6125 if ibacm.port was not found (CVE-2012-4516)
Summary: <sys-fabric/librdmacm-1.0.18: Tried to connect to port 6125 if ibacm.port was...
Status: RESOLVED FIXED
Alias: CVE-2012-4516
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal trivial (vote)
Assignee: Gentoo Security
URL:
Whiteboard: ~4 [noglsa]
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-15 08:37 UTC by Agostino Sarubbo
Modified: 2016-06-30 08:08 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2012-10-15 08:37:29 UTC
From oss security:

 A security flaw was found in the way librdmacm, a userspace RDMA Communication
Managment API allowing to specify connections using TCP/IP addresses even though
it opens RDMA specific connections, performed binding to the underlying ib_acm
service (librdmacm used default port value of 6125 to bind to ib_acm service).
An attacker able to run a rogue ib_acm service could use this flaw to make
librdmacm applications to use potentially bogus address resolution information.

References: https://bugzilla.redhat.com/show_bug.cgi?id=865483
Upstream patch: http://git.openfabrics.org/git?p=~shefty/librdmacm.git;a=commitdiff;h=4b5c1aa734e0e734fc2ba3cd41d0ddf02170af6d

Credit: This issue was discovered by Florian Weimer of Red Hat Product Security Team.
Comment 1 GLSAMaker/CVETool Bot gentoo-dev 2012-10-23 20:22:36 UTC
CVE-2012-4516 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-4516):
  librdmacm 1.0.16, when ibacm.port is not specified, connects to port 6125,
  which allows remote attackers to specify the address resolution information
  for the application via a malicious ib_acm service.
Comment 2 Chris Reffett (RETIRED) gentoo-dev Security 2013-09-03 17:48:35 UTC
I think there's a bump available, otherwise patch available at http://git.openfabrics.org/git?p=~shefty/ibacm.git;a=commit;h=c7d28b35d64333c262de3ec972c426423dadccf9
Comment 3 Aaron Bauman (RETIRED) gentoo-dev 2016-03-01 10:08:20 UTC
@maintainers, please cleanup vulnerable version 1.0.16 in tree. 1.0.18 is already stable.  Once cleaned feel free to close this bug.  GLSA Vote: No
Comment 4 Aaron Bauman (RETIRED) gentoo-dev 2016-03-29 06:56:44 UTC
Maintainer timeout:

commit 035a23105ef01cea6cb94b96abb3e666dae547b8
Author: Aaron Bauman <bman@gentoo.org>
Date:   Tue Mar 29 15:54:30 2016 +0900

    sys-infiniband/librdmacm: cleanup vulnerable packages per 438444
    
    Package-Manager: portage-2.2.26
Comment 5 Aaron Bauman (RETIRED) gentoo-dev 2016-03-29 07:28:03 UTC
Should have reviewed the package a bit more.  Restored.

@maintainer, please do a proper cleanup of the package.  Thanks.
Comment 6 Alexey Shvetsov archtester gentoo-dev 2016-06-30 07:41:24 UTC
Old versions removed from tree
Comment 7 Aaron Bauman (RETIRED) gentoo-dev 2016-06-30 08:07:44 UTC
(In reply to Alexey Shvetsov from comment #6)
> Old versions removed from tree

Thanks so much, Alexey!