Improper Validation of Array Index Affecting sqlite-tools package, versions <0:3.40.0-1.amzn2022.0.1


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
23.58% (98th 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-AMZN2022-SQLITETOOLS-3247126
  • published25 Jan 2023
  • disclosed3 Aug 2022

Introduced: 3 Aug 2022

CVE-2022-35737  (opens in a new tab)
CWE-129  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2022 sqlite-tools to version 0:3.40.0-1.amzn2022.0.1 or higher.
This issue was patched in ALAS2022-2023-266.

NVD Description

Note: Versions mentioned in the description apply only to the upstream sqlite-tools package and not the sqlite-tools package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2022 relevant fixed versions and status.

SQLite 1.0.12 through 3.39.x before 3.39.2 sometimes allows an array-bounds overflow if billions of bytes are used in a string argument to a C API.

CVSS Base Scores

version 3.1