CVE-2024-1013
Unixodbc: out of bounds stack write due to pointer-to-integer types conversion
Reported by redhat · Published March 18, 2024
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| unixODBC | Amazon Linux | 2.3.9-3.amzn2023.0.3, 2.3.1-15.amzn2 |
| unixODBC-devel | Amazon Linux | 2.3.9-3.amzn2023.0.3, 2.3.1-15.amzn2 |
| unixodbc | Wolfi | 2.3.12-r7 |
| unixodbc | Chainguard | 2.3.12-r7 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | Red Hat Enterprise Linux 6 | |
| Red Hat | Red Hat Enterprise Linux 7 | |
| Red Hat | Red Hat Enterprise Linux 7 | |
| Red Hat | Red Hat Enterprise Linux 8 | |
| Red Hat | Red Hat Enterprise Linux 9 | |
| Red Hat | Red Hat Enterprise Linux 9 | |
| Red Hat | Red Hat Enterprise Linux 8 | |
| Red Hat | Red Hat Enterprise Linux 6 | |
| Red Hat | Red Hat Enterprise Linux 7 | |
| Red Hat | Red Hat Enterprise Linux 7 |
Timeline
- Jan 29, 2024 Fix PR Merged
- Mar 18, 2024 CVE Published
- Mar 18, 2024 PoC Published (3 in total, the first dated here)
- Mar 19, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (8 in total, the first dated here)
- Jun 2, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-1013
vulnetix vdb fixes CVE-2024-1013
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-1013/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- vdb-entryx_refsource_REDHAT
- RHBZ#2260823 issue-trackingx_refsource_REDHAT