Buffer overflow in Unixodbc

CVE-2012-2657

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.

Vulnerability class: Buffer Overflow

EPSS: 0.004 (36.3th percentile) — read the EPSS interpretation.

Affected products

  • Unixodbc — versions 2.0.10, 2.3.0
  • N/a — versions n/a

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2012-2657?
CVE-2012-2657 is a vulnerability in Unixodbc, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. Published 2012-08-31.
Is CVE-2012-2657 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.