Improper Restriction of Operations within the Bounds of a Memory Buffer Affecting sqlite package, versions [3.30.1,3.31.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.52% (66th 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 Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-SQLITE-2333667
  • published12 Jan 2022
  • disclosed3 Jan 2020
  • creditUnknown

Introduced: 3 Jan 2020

CVE-2019-19959  (opens in a new tab)
CWE-119  (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 Improper Restriction of Operations within the Bounds of a Memory Buffer ext/misc/zipfile.c in SQLite 3.30.1 mishandles certain uses of INSERT INTO in situations involving embedded '\0' characters in filenames, leading to a memory-management error that can be detected by (for example) valgrind.

CVSS Base Scores

version 3.1