SQL Injection Affecting sqlite-libs-debuginfo package, versions <0:3.40.0-1.amzn2023.0.5


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.45% (38th 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-AMZN2023-SQLITELIBSDEBUGINFO-10123787
  • published14 May 2025
  • disclosed12 Dec 2022

Introduced: 12 Dec 2022

CVE-2022-46908  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 sqlite-libs-debuginfo to version 0:3.40.0-1.amzn2023.0.5 or higher.
This issue was patched in ALAS2023-2025-971.

NVD Description

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

SQLite through 3.40.0, when relying on --safe for execution of an untrusted CLI script, does not properly implement the azProhibitedFunctions protection mechanism, and instead allows UDF functions such as WRITEFILE.

CVSS Base Scores

version 3.1