CVE-2011-1145 Memory corruption in unixodbc

High 7.8 Published Updated

A buffer overflow in unixODBC's SQLDriverConnect function allows attackers to execute arbitrary code or cause denial of service via a crafted connection string.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2011-1145?

CVE-2011-1145 is a high-severity memory corruption vulnerability in Debian Debian Linux, published on 14 Nov 2019. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

The SQLDriverConnect() function in unixODBC before 2.2.14p2 have a possible buffer overflow condition when specifying a large value for SAVEFILE parameter in the connection string.

Weakness: CWE-120

Which versions are affected by CVE-2011-1145?

It affects 4 products.

Linux distribution packages (1)
unixODBC openSUSE:TumbleweedAll versions2.3.4-3.5

Products include Debian Debian Linux, Opensuse Opensuse, Redhat Enterprise Linux, Unixodbc Unixodbc.

How do I fix CVE-2011-1145?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2011-1145 being exploited?

There is no known exploitation of CVE-2011-1145 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2011-1145, GHSA-6299-8rx4-fxcv, openSUSE-SU-2024:10413-1.

Is CVE-2011-1145 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free