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.
What to do
Fixed builds are available from Red Hat, Ubuntu: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 16.04 | librdmacm | Not affected vulnerable_code_not_present | ||
| Ubuntu 14.04 | librdmacm | Fixed | 1.0.16-1 | UBUNTU-CVE-2012-4516 |
| Red Hat Enterprise Linux 6 | ibutils | Fixed | 0:1.5.7-8.el6 | RHSA-2013:1661 |
| Red Hat Enterprise Linux 6 | ibutils-devel | Fixed | 0:1.5.7-8.el6 | RHSA-2013:1661 |
| Red Hat Enterprise Linux 6 | ibutils-libs | Fixed | 0:1.5.7-8.el6 | RHSA-2013:1661 |
| Red Hat Enterprise Linux 6 | infinipath-psm | Fixed | 0:3.0.1-115.1015_open.2.el6 | RHSA-2013:1661 |
| Red Hat Enterprise Linux 6 | infinipath-psm-devel | Fixed | 0:3.0.1-115.1015_open.2.el6 | RHSA-2013:1661 |
| Red Hat Enterprise Linux 6 | libibverbs | Fixed | 0:1.1.7-1.el6 | RHSA-2013:1661 |
| Red Hat Enterprise Linux 6 | libibverbs-devel | Fixed | 0:1.1.7-1.el6 | RHSA-2013:1661 |
| Red Hat Enterprise Linux 6 | libibverbs-devel-static | Fixed | 0:1.1.7-1.el6 | RHSA-2013:1661 |
| Red Hat Enterprise Linux 6 | libibverbs-utils | Fixed | 0:1.1.7-1.el6 | RHSA-2013:1661 |
| Red Hat Enterprise Linux 6 | libmlx4 | Fixed | 0:1.0.5-4.el6.1 | RHSA-2013:1661 |
| Red Hat Enterprise Linux 6 | libmlx4-static | Fixed | 0:1.0.5-4.el6.1 | RHSA-2013:1661 |
| Red Hat Enterprise Linux 6 | librdmacm | Fixed | 0:1.0.17-1.el6 | RHSA-2013:1661 |
| Red Hat Enterprise Linux 6 | librdmacm-devel | Fixed | 0:1.0.17-1.el6 | RHSA-2013:1661 |
| Red Hat Enterprise Linux 6 | librdmacm-static | Fixed | 0:1.0.17-1.el6 | RHSA-2013:1661 |
| Red Hat Enterprise Linux 6 | librdmacm-utils | Fixed | 0:1.0.17-1.el6 | RHSA-2013:1661 |
| Red Hat Enterprise Linux 6 | mpitests | Fixed | 0:3.2-9.el6 | RHSA-2013:1661 |
| Red Hat Enterprise Linux 6 | mpitests-mvapich | Fixed | 0:3.2-9.el6 | RHSA-2013:1661 |
| Red Hat Enterprise Linux 6 | mpitests-mvapich-psm | Fixed | 0:3.2-9.el6 | RHSA-2013:1661 |
| Red Hat Enterprise Linux 6 | mpitests-mvapich2 | Fixed | 0:3.2-9.el6 | RHSA-2013:1661 |
| Red Hat Enterprise Linux 6 | mpitests-mvapich2-psm | Fixed | 0:3.2-9.el6 | RHSA-2013:1661 |
| Red Hat Enterprise Linux 6 | mpitests-openmpi | Fixed | 0:3.2-9.el6 | RHSA-2013:1661 |
| Red Hat Enterprise Linux 6 | mstflint | Fixed | 0:3.0-0.6.g6961daa.1.el6 | RHSA-2013:1661 |
| Red Hat Enterprise Linux 6 | openmpi | Fixed | 0:1.5.4-2.el6 | RHSA-2013:1661 |
| Red Hat Enterprise Linux 6 | openmpi-devel | Fixed | 0:1.5.4-2.el6 | RHSA-2013:1661 |
| Red Hat Enterprise Linux 6 | perftest | Fixed | 0:2.0-2.el6 | RHSA-2013:1661 |
| Red Hat Enterprise Linux 6 | qperf | Fixed | 0:0.4.9-1.el6 | RHSA-2013:1661 |
| Red Hat Enterprise Linux 6 | rdma | Fixed | 0:3.10-3.el6 | RHSA-2013:1661 |
| Red Hat Enterprise Linux 5 | librdmacm | Not affected |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=865483
- http://www.openwall.com/lists/oss-security/2012/10/11/6
- http://git.openfabrics.org/git?p=~shefty/librdmacm.git%3Ba=commitdiff%3Bh=4b5c1aa734e0e734fc2ba3cd41d0ddf02170af6d
- http://www.openwall.com/lists/oss-security/2012/10/11/9
- http://www.securityfocus.com/bid/55896
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.