Use of Out-of-range Pointer Offset Affecting odbc package, versions [,2.3.14)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.28% (23rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CONAN-ODBC-10077826
  • published8 May 2025
  • disclosed18 Mar 2024
  • creditUnknown

Introduced: 18 Mar 2024

CVE-2024-1013  (opens in a new tab)
CWE-823  (opens in a new tab)

How to fix?

Upgrade odbc to version 2.3.14 or higher.

Overview

Affected versions of this package are vulnerable to Use of Out-of-range Pointer Offset due to an improper pointer-to-integer types conversion on 64-bit architectures, where the caller expects to write 4 bytes but the callee writes 8 bytes. This discrepancy may not cause issues on little-endian architectures but can lead to significant problems on big-endian architectures. An attacker can exploit this flaw to perform out-of-bounds stack writes, potentially leading to arbitrary code execution or denial of service.

CVSS Base Scores

version 3.1