SQL Injection Affecting sqlite package, versions [,3.25.3)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
9.19% (95th 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 Learn

Learn about SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-SQLITE-2333664
  • published12 Jan 2022
  • disclosed3 Apr 2019
  • creditUnknown

Introduced: 3 Apr 2019

CVE-2018-20505  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade sqlite to version 3.25.3 or higher.

Overview

Affected versions of this package are vulnerable to SQL Injection. SQLite 3.25.2, when queries are run on a table with a malformed PRIMARY KEY, allows remote attackers to cause a denial of service (application crash) by leveraging the ability to run arbitrary SQL statements (such as in certain WebSQL use cases).

References

CVSS Scores

version 3.1