Package: unixodbc
Version: 2.2.14p2-1
Severity: important
Tags: security

>From Felipe Pena in [oss-security] CVE id request: Multiple buffer overflow in 
>unixODBC:
"""
Multiple buffer overflow in unixODBC
===========================

The library unixODBC doesn't check properly the input from FILEDSN=,
DRIVER= options in the DSN,
which causes buffer overflow when passed to the SQLDriverConnect() function.

The unixODBC maintainer has been notified about the issue.

Version affected
============

FILEDSN= as of 2.0.10
DRIVER= as of 2.3.1

PoC
===

$ ./poc "FILEDSN=$(python -c "print 'A'*10000")"
Segmentation fault

(gdb) bt
 #0  0x00007ffff7bc8c81 in SQLReadFileDSN (pszFileName=<value optimized
 out>, pszAppName=<value optimized out>, pszKeyName=<value optimized
 out>,
    pszString=<value optimized out>, nString=<value optimized out>,
 pnString=<value optimized out>) at SQLReadFileDSN.c:207
 #1  0x4141414141414141 in ?? ()


CREDITS
=======

This bug was discovered by Felipe Pena.
BugSec Team - http://www.bugsec.com.br/
"""

-- System Information:
Debian Release: 6.0.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages unixodbc depends on:
ii  libc6                         2.11.3-3   Embedded GNU C Library: Shared lib
ii  libltdl7                      2.2.6b-2   A system independent dlopen wrappe
ii  libreadline6                  6.1-3      GNU readline and history libraries
ii  odbcinst1debian2              2.2.14p2-1 Support library for accessing odbc

unixodbc recommends no packages.

Versions of packages unixodbc suggests:
pn  libmyodbc                     <none>     (no description available)
pn  odbc-postgresql               <none>     (no description available)
pn  tdsodbc                       <none>     (no description available)
pn  unixodbc-bin                  <none>     (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to