CVE-2012-2658 Memory corruption in n/a

Low 2.1 Published Updated

Local attackers can crash unixODBC via a buffer overflow in SQLDriverConnect, though privilege escalation is unlikely.

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-2012-2658?

CVE-2012-2658 is a low-severity memory corruption vulnerability in n/a, published on 31 Aug 2012. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-119

Which versions are affected by CVE-2012-2658?

It affects 1 product.

Products include Unixodbc Unixodbc.

How do I fix CVE-2012-2658?

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-2012-2658 being exploited?

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

Sources

Also known as DEBIAN-CVE-2012-2658, GHSA-8mx7-qh9r-7vj7, UBUNTU-CVE-2012-2658.

Is CVE-2012-2658 in your software?

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

Check your SBOMs for free