CVE-2012-2658
Buffer overflow in the SQLDriverConnect function in unixODBC 2.3.1 allows local users to cause a denial of service (crash) via a long string in the DRIVER option. NOTE: this issue might not be a vulnerability, since the ability to set this option typically implies that the attacker already has legitimate access to cause a DoS or execute code, and therefore the issue would not cross privilege boundaries. There may be limited attack scenarios if isql command-line options are exposed to an attacker, although it seems likely that other, more serious issues would also be exposed, and this issue might not cross privilege boundaries in that context.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
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 | unixodbc | Will not fix This one is likely to be rejected marking as ignored | UBUNTU-CVE-2012-2658 | |
| Ubuntu 14.04 | unixodbc | Fix pending | UBUNTU-CVE-2012-2658 | |
| Debian 14 | unixodbc | Fixed | 2.3.6-0.1 | DEBIAN-CVE-2012-2658 |
| Debian 13 | unixodbc | Fixed | 2.3.6-0.1 | DEBIAN-CVE-2012-2658 |
| Debian 12 | unixodbc | Fixed | 2.3.6-0.1 | DEBIAN-CVE-2012-2658 |
| Red Hat Enterprise Linux 6 | unixODBC | Not affected | ||
| Red Hat Enterprise Linux 6 | unixODBC-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | unixODBC-kde | Not affected | ||
| Red Hat Enterprise Linux 5 | unixODBC | Not affected | ||
| Red Hat Enterprise Linux 5 | unixODBC64 | Not affected | ||
| Red Hat Enterprise Linux 4 | unixODBC | Not affected |
References
- http://www.osvdb.org/82460
- https://exchange.xforce.ibmcloud.com/vulnerabilities/75940
- http://www.openwall.com/lists/oss-security/2012/06/06/3
- http://www.openwall.com/lists/oss-security/2012/05/30/7
- http://www.openwall.com/lists/oss-security/2012/05/31/2
- http://www.securityfocus.com/bid/53712
- http://www.openwall.com/lists/oss-security/2012/05/29/10
- http://www.openwall.com/lists/oss-security/2012/05/29/7
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.