CVEfocus › CVE database › CVE-2012-2657

CVE-2012-2657

EPSS 0.4% (higher than 39% of CVEs)Published 2012-08-31Updated 2024-08-06Assigner: redhat

Buffer overflow in the SQLDriverConnect function in unixODBC 2.0.10, 2.3.1, and earlier allows local users to cause a denial of service (crash) via a long string in the FILEDSN 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

3Fixed
1Fix pending
7Will not fix

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 16.04unixodbcWill not fix
This one is likely to be rejected marking as ignored
UBUNTU-CVE-2012-2657
Ubuntu 14.04unixodbcFix pendingUBUNTU-CVE-2012-2657
Debian 14unixodbcFixed2.3.6-0.1DEBIAN-CVE-2012-2657
Debian 13unixodbcFixed2.3.6-0.1DEBIAN-CVE-2012-2657
Debian 12unixodbcFixed2.3.6-0.1DEBIAN-CVE-2012-2657
Red Hat Enterprise Linux 6unixODBCWill not fix
Will not fix
Red Hat Enterprise Linux 6unixODBC-develWill not fix
Will not fix
Red Hat Enterprise Linux 6unixODBC-kdeWill not fix
Will not fix
Red Hat Enterprise Linux 5unixODBCWill not fix
Will not fix
Red Hat Enterprise Linux 5unixODBC64Will not fix
Will not fix
Red Hat Enterprise Linux 4unixODBCWill not fix
Will not fix

References

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.