cve.bz

CVE-2024-1013 Unixodbc: out of bounds stack write due to pointer-to-integer types conversion

7.8 highEPSS 0.3%

High (7.8) in unixodbc unixodbc. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 20th percentile. Scored 2026-11-30. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-04-25. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-823 Use of Out-of-range Pointer Offset
Published
Modified
Assigned by
redhat (CNA)
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-1013 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-1013?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-1013?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-1013 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13unixodbcno fix listedDEBIAN-CVE-2024-1013
Debian14unixodbc2.3.14-1DEBIAN-CVE-2024-1013
Ubuntu20.04:LTSunixodbc2.3.6-0.1ubuntu0.1UBUNTU-CVE-2024-1013 USN-6715-1
Ubuntu22.04:LTSunixodbc2.3.9-5ubuntu0.1UBUNTU-CVE-2024-1013 USN-6715-1
Ubuntu24.04:LTSunixodbc2.3.12-1ubuntu0.24.04.1UBUNTU-CVE-2024-1013 USN-6715-2
UbuntuPro:14.04:LTSunixodbcno fix listedUBUNTU-CVE-2024-1013
UbuntuPro:16.04:LTSunixodbc2.3.1-4.1ubuntu0.1~esm2UBUNTU-CVE-2024-1013 USN-6715-1
UbuntuPro:18.04:LTSunixodbc2.3.4-1.1ubuntu3+esm1UBUNTU-CVE-2024-1013 USN-6715-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5unixODBC2.3.9-7.16.1SUSE-SU-2024:2978-1
Azure Linux2unixODBC2.3.9-3AZL-36896
Azure Linux3unixODBC2.3.12-2AZL-36904

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Red Hat does not ship this vulnerable code in any versions of Red Hat Enterprise Linux.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6unixODBCOut of support scope
Red Hat Enterprise Linux 7compat-unixODBC234Out of support scope
Red Hat Enterprise Linux 7unixODBCOut of support scope
Red Hat Enterprise Linux 8unixODBCNot affected
Red Hat Enterprise Linux 9unixODBCNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-1013.

Attack patterns (CAPEC)

  • CAPEC-129 Pointer Manipulation Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON