CVE-2012-2657 Memory corruption in n/a
Local attackers can cause a denial of service in unixODBC via a buffer overflow in the SQLDriverConnect function using a long FILEDSN 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-2012-2657?
CVE-2012-2657 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.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.
Weakness: CWE-119
Which versions are affected by CVE-2012-2657?
It affects 1 product.
Products include Unixodbc Unixodbc.
How do I fix CVE-2012-2657?
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-2657 being exploited?
There is no known exploitation of CVE-2012-2657 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2012-2657, GHSA-v3gw-vw4w-6f6j, UBUNTU-CVE-2012-2657.