{"answers":{"affected":"1 open source package ship an affected version, including unixodbc. It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-1013 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2024-1013 is a high-severity memory corruption vulnerability in Red Hat Enterprise Linux 6, published on 18 Mar 2024. 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-2024-1013 and fix it if it is affected.\n\nWhat it is: CVE-2024-1013 is a high-severity memory corruption vulnerability in Red Hat Enterprise Linux 6, published on 18 Mar 2024. 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-2024-1013 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- unixodbc (Bitnami): affected all versions; no fix listed\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-2024-1013/ (Markdown: https://insights.sbomify.com/CVE-2024-1013/index.md)","id":"CVE-2024-1013","markdown":"https://insights.sbomify.com/CVE-2024-1013/index.md","name":"CVE-2024-1013","record":{"aliases":["AZL-36896","AZL-36904","BIT-unixodbc-2024-1013","CLSA-2024-1712261674","CLSA-2024-1712262573","CLSA-2024-1712263690","CLSA-2024-1712490771","CLSA-2024-1712837462","CLSA-2024-1714462946","CLSA-2025-1761844758","DEBIAN-CVE-2024-1013","ECHO-b798-34bb-79d9","GHSA-x6h9-cx79-jjjv","MGASA-2024-0106","MINI-83mw-7h56-m733","OESA-2024-1327","OESA-2024-1370","OESA-2024-1371","OESA-2024-1372","OESA-2024-1373","OESA-2024-1374","OESA-2024-2332","ROOT-OS-DEBIAN-12-CVE-2024-1013","SUSE-SU-2024:2978-1","UBUNTU-CVE-2024-1013","USN-6715-1","USN-6715-2"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["code_execution","denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"ODBC database library","requires_auth":"low_privilege","summary":"An out-of-bounds stack write in unixODBC on 64-bit systems allows attackers to potentially execute code or cause denial of service.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"unixodbc","vendor":"unixodbc"}],"cvss":{"score":7.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-823","name":"Use of Out-of-range Pointer Offset"}],"description":"An out-of-bounds stack write flaw was found in unixODBC on 64-bit architectures where the caller has 4 bytes and callee writes 8 bytes. This issue may go unnoticed on little-endian architectures, while big-endian architectures can be broken.","ecosystems":["Bitnami","SUSE:Linux Enterprise Server 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 12 SP5","SUSE:Linux Enterprise Software Development Kit 12 SP5"],"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":"Unixodbc: out of bounds stack write due to pointer-to-integer types conversion","id":"CVE-2024-1013","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"memory_corruption","year":"2024"},"n_packages":4,"n_references":3,"next":{"headline":"Uncontrolled resource consumption vulnerability in SE-elektronic GmbH E-DDC3.3","id":"CVE-2024-1014"},"packages":[{"ecosystem":"Bitnami","fixed":[],"introduced":[],"last_affected":[],"package":"unixodbc","purl":"pkg:bitnami/unixodbc","source":"BIT-unixodbc-2024-1013"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","fixed":["2.3.9-7.16.1"],"introduced":["0"],"last_affected":[],"package":"unixODBC","purl":"pkg:rpm/suse/unixODBC\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5","source":"SUSE-SU-2024:2978-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","fixed":["2.3.9-7.16.1"],"introduced":["0"],"last_affected":[],"package":"unixODBC","purl":"pkg:rpm/suse/unixODBC\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5","source":"SUSE-SU-2024:2978-1"},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP5","fixed":["2.3.9-7.16.1"],"introduced":["0"],"last_affected":[],"package":"unixODBC","purl":"pkg:rpm/suse/unixODBC\u0026distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP5","source":"SUSE-SU-2024:2978-1"}],"prev":{"headline":"Wanhu ezOFFICE wf_printnum.jsp sql injection","id":"CVE-2024-1012"},"products":["Red Hat Enterprise Linux 6","Red Hat Enterprise Linux 7","Red Hat Enterprise Linux 8","Red Hat Enterprise Linux 9"],"published":"2024-03-18","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":2.1,"headline":"Memory corruption in n/a","id":"CVE-2012-2657","kev_date_added":null,"published":"2012-08-31"},{"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":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"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":"2025-11-20","vendors":["Red Hat"]},"summary":"An out-of-bounds stack write in unixODBC on 64-bit systems allows attackers to potentially execute code or cause denial of service.","url":"https://insights.sbomify.com/CVE-2024-1013/"}