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

Published Jan 29, 2024
·
Updated

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.

Other sources

An out-of-bounds stack writes on 64-bit architectures (caller has 4 bytes, callee writes 8 bytes), and seem to have gone unnoticed on little-endian architectures (although big-endian architectures must be broken).

Refer: https://github.com/lurcher/unixODBC/pull/157

Red Hat

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

Microsoft

Affected Software

4 affected componentsFixes available
debian/unixodbc<=2.3.6-0.1, <=2.3.11-2+deb12u1, <=2.3.12-1
unixODBC unixODBC
Microsoft cbl2 unixODBC 2.3.9-3
Microsoft azl3 unixODBC 2.3.12-2

Event History

Jan 29, 2024
Data Sourced
via Red Hat·08:23 AM
DescriptionSeverityAffected Software
Mar 18, 2024
CVE Published
via MITRE·10:53 AM
Data Sourced
via MITRE·10:53 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:15 AM
DescriptionSeverityWeakness
Mar 28, 2024
Data Sourced
via Launchpad·12:38 AM
Description
Jun 30, 2024
Data Sourced
via Microsoft·02:00 PM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·02:00 PM
Affected Software
Updated
via Microsoft·02:00 PM
DescriptionSeverity
Sep 16, 2024
Data Sourced
via Ubuntu·04:19 AM
RemedyDescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-1013?

CVE-2024-1013 is classified as a high-severity vulnerability due to its potential for causing out-of-bounds stack writes.

2

How do I fix CVE-2024-1013?

To fix CVE-2024-1013, upgrade unixODBC to the latest version that is not vulnerable, specifically versions higher than 2.3.12-1.

3

What versions of unixODBC are affected by CVE-2024-1013?

CVE-2024-1013 affects unixODBC versions 2.3.6-0.1, 2.3.11-2+deb12u1, and 2.3.12-1.

4

Is CVE-2024-1013 more severe on big-endian architectures?

Yes, CVE-2024-1013 poses a higher risk on big-endian architectures compared to little-endian architectures due to the nature of the out-of-bounds write.

5

Can CVE-2024-1013 lead to remote code execution?

CVE-2024-1013 has the potential to lead to remote code execution because of the out-of-bounds stack write.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203