Use After Free Affecting sqlite package, versions [3.33.0,3.34.1)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.09% (42nd 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 Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-SQLITE-2333685
  • published12 Jan 2022
  • disclosed23 Mar 2021
  • creditUnknown

Introduced: 23 Mar 2021

CVE-2021-20227  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade sqlite to version 3.34.1 or higher.

Overview

Affected versions of this package are vulnerable to Use After Free. A flaw was found in SQLite's SELECT query functionality (src/select.c). This flaw allows an attacker who is capable of running SQL queries locally on the SQLite database to cause a denial of service or possible code execution by triggering a use-after-free. The highest threat from this vulnerability is to system availability.

References

CVSS Scores

version 3.1