Description
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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | unixodbc | 2.3.6-0.1 | — |
| Debian 13 | unixodbc | 2.3.6-0.1 | — |
| Debian 12 | unixodbc | 2.3.6-0.1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 16.04 LTS | unixodbc | No fix yet | — |
| Ubuntu Pro 14.04 LTS | unixodbc | No fix yet | — |
References
- 82460 vdb-entry
- unixodbc-sdc-bo(75940) vdb-entry
- [oss-security] 20120605 Re: CVE id request: Multiple buffer overflow in unixODBC mailing-list
- [oss-security] 20120530 Re: CVE id request: Multiple buffer overflow in unixODBC mailing-list
- [oss-security] 20120531 Re: CVE id request: Multiple buffer overflow in unixODBC mailing-list
- 53712 vdb-entry
- [oss-security] 20120529 Re: CVE id request: Multiple buffer overflow in unixODBC mailing-list
- [oss-security] 20120529 CVE id request: Multiple buffer overflow in unixODBC mailing-list