CVE-2024-1013 json
Unixodbc: out of bounds stack write due to pointer-to-integer types conversion
published 2024-03-18 2 y ago modified 2026-11-05 3 d ago also BIT-unixodbc-2024-1013 , EUVD-2024-16790
- cvss
- 7.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 21%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- unixodbc unixodbc 2.3.13
- unixodbc Debian 14 2.3.14-1
debian advisories DEBIAN-CVE-2024-1013
- unixodbc Ubuntu 20.04 LTS 2.3.6-0.1ubuntu0.1
- unixodbc Ubuntu 22.04 LTS 2.3.9-5ubuntu0.1
- unixodbc Ubuntu 24.04 LTS 2.3.12-1ubuntu0.24.04.1
- unixodbc Ubuntu Pro 16.04 LTS 2.3.1-4.1ubuntu0.1~esm2
- unixodbc Ubuntu Pro 18.04 LTS 2.3.4-1.1ubuntu3+esm1
ubuntu advisories UBUNTU-CVE-2024-1013
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- unixODBC SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 2.3.9-7.16.1
suse advisories SUSE-SU-2024:2978-1
- unixODBC CBL-Mariner 2.0 2.3.9-3
- unixODBC Azure Linux 3.0 2.3.12-2
azure linux advisories AZL-36896AZL-36904
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
- github.com/lurcher/unixODBC#157 pull request
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-1013 updated cvss 7.8
unixODBC: out of bounds stack write due to pointer-to-integer types conversion
-
Red Hat Enterprise Linux 6 unixODBC, unixODBC-kde Red Hat Enterprise Linux 7 unixODBC, compat-unixODBC234affected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 8 unixODBC Red Hat Enterprise Linux 9 unixODBCnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.28% chance of exploitation in the next 30 days, higher than 21% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | unixodbc | — | no fix listed |
Affected products
- Red Hat Red Hat Enterprise Linux 6
- Red Hat Red Hat Enterprise Linux 7
- Red Hat Red Hat Enterprise Linux 8
- Red Hat Red Hat Enterprise Linux 9
Classification
- Weakness
-
- CWE-823 Use of Out-of-range Pointer Offset
References
-
github.com
/lurcher/unixODBC/pull/157
issue-tracking, web
-
access.redhat.com
/security/cve/CVE-2024-1013
vdb-entry, broken-link, web
-
bugzilla.redhat.com
/show_bug.cgi?id=2260823
issue-tracking, web
Sources
- CVE List CVE-2024-1013
- NVD CVE-2024-1013
- OSV BIT-unixodbc-2024-1013
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Fix CPE version details.