CVE-2012-2657
What it is
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.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in. Limited direct impact.
- Exploit odds
- 0.4% chance of exploitation in the next 30 days (EPSS).
- Fix
- No patch or advisory is linked yet. Look at mitigations or restrict exposure.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.4% in the next 30 days (EPSS).
- Severity: 2.1 LOW (CVSS).
- Fix: none linked yet, which raises it.
Details
- Published
- Last modified
- Exploit probability
- 0.4% · EPSS, next 30 days
- Weakness
- CWE-119 · Buffer errors
- Record status
- Modified
Affected
- Unixodbc ≤ 2.3.1
- Unixodbc 2.0.10
- Unixodbc 2.3.0
Attack profile CVSS 2.0 · 2.1
- Attack vector
- Local
- Complexity
- Low
- Authentication
- None
- Confidentiality
- None
- Integrity
- None
- Availability
- Partial
Raw vector
AV:L/AC:L/Au:N/C:N/I:N/A:P
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2012-2657.md and follow it. Check whether this project is affected by CVE-2012-2657. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
References
- http://www.openwall.com/lists/oss-security/2012/05/29/10
- http://www.openwall.com/lists/oss-security/2012/05/29/7
- http://www.openwall.com/lists/oss-security/2012/05/30/7
- http://www.openwall.com/lists/oss-security/2012/05/31/2
- http://www.openwall.com/lists/oss-security/2012/06/06/3
- http://www.osvdb.org/82460
- http://www.securityfocus.com/bid/53712
- https://exchange.xforce.ibmcloud.com/vulnerabilities/75940
- http://www.openwall.com/lists/oss-security/2012/05/29/10
- http://www.openwall.com/lists/oss-security/2012/05/29/7
- http://www.openwall.com/lists/oss-security/2012/05/30/7
- http://www.openwall.com/lists/oss-security/2012/05/31/2
- http://www.openwall.com/lists/oss-security/2012/06/06/3
- http://www.osvdb.org/82460
- http://www.securityfocus.com/bid/53712
- https://exchange.xforce.ibmcloud.com/vulnerabilities/75940