NULL Pointer Dereference Affecting sqlite package, versions [3.30.1,3.31.0)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.86% (83rd 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 NULL Pointer Dereference vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-SQLITE-2333692
  • published12 Jan 2022
  • disclosed24 Dec 2019
  • creditUnknown

Introduced: 24 Dec 2019

CVE-2019-19923  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade sqlite to version 3.31.0 or higher.

Overview

Affected versions of this package are vulnerable to NULL Pointer Dereference flattenSubquery in select.c in SQLite 3.30.1 mishandles certain uses of SELECT DISTINCT involving a LEFT JOIN in which the right-hand side is a view. This can cause a NULL pointer dereference (or incorrect results).

References

CVSS Scores

version 3.1