{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2012-2657 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"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."},"fix_prompt":"Check this codebase for CVE-2012-2657 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: There is no known exploitation of CVE-2012-2657 in the wild and no public exploit code.\n\nAffected product: n/a. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2012-2657/ (Markdown: https://insights.sbomify.com/CVE-2012-2657/index.md)","id":"CVE-2012-2657","markdown":"https://insights.sbomify.com/CVE-2012-2657/index.md","name":"CVE-2012-2657","record":{"aliases":["DEBIAN-CVE-2012-2657","GHSA-v3gw-vw4w-6f6j","UBUNTU-CVE-2012-2657"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"ODBC database library","requires_auth":"low_privilege","summary":"Local attackers can cause a denial of service in unixODBC via a buffer overflow in the SQLDriverConnect function using a long FILEDSN string.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"unixodbc","vendor":"unixodbc"}],"cvss":{"score":2.1,"severity":"low","source":"nvd","vector":"AV:L/AC:L/Au:N/C:N/I:N/A:P","version":"2.0"},"cwes":[{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Memory corruption in n/a","id":"CVE-2012-2657","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2012"},"n_packages":0,"n_references":8,"next":{"headline":"Memory corruption in n/a","id":"CVE-2012-2658"},"packages":[],"prev":{"headline":"XML external entity in Restlet","id":"CVE-2012-2656"},"products":["n/a"],"published":"2012-08-31","related":[{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2018-7485","kev_date_added":null,"published":"2018-02-26"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2018-7409","kev_date_added":null,"published":"2018-02-22"},{"cvss_score":7.8,"headline":"Unixodbc: out of bounds stack write due to pointer-to-integer types conversion","id":"CVE-2024-1013","kev_date_added":null,"published":"2024-03-18"},{"cvss_score":2.1,"headline":"Memory corruption in n/a","id":"CVE-2012-2658","kev_date_added":null,"published":"2012-08-31"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-08-06","vendors":["n/a"]},"summary":"Local attackers can cause a denial of service in unixODBC via a buffer overflow in the SQLDriverConnect function using a long FILEDSN string.","url":"https://insights.sbomify.com/CVE-2012-2657/"}