Bug 1789595 (CVE-2019-19959) - CVE-2019-19959 sqlite: mishandles certain uses of INSERT INTO in situations involving embedded '\0' characters in filenames
Summary: CVE-2019-19959 sqlite: mishandles certain uses of INSERT INTO in situations i...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2019-19959
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1789597 1789598 1789599 1789823
Blocks: 1789600
TreeView+ depends on / blocked
 
Reported: 2020-01-09 21:23 UTC by Guilherme de Almeida Suckevicz
Modified: 2021-02-16 20:47 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-04-28 16:35:18 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2020:1810 0 None None None 2020-04-28 15:55:28 UTC

Description Guilherme de Almeida Suckevicz 2020-01-09 21:23:42 UTC
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.

References and upstream commits:
https://github.com/sqlite/sqlite/commit/1e490c4ca6b43a9cf8637d695907888349f69bec
https://github.com/sqlite/sqlite/commit/d8f2d46cbc9925e034a68aaaf60aad788d9373c1

Comment 1 Guilherme de Almeida Suckevicz 2020-01-09 21:24:53 UTC
Created mingw-sqlite tracking bugs for this issue:

Affects: epel-7 [bug 1789599]
Affects: fedora-all [bug 1789597]


Created sqlite tracking bugs for this issue:

Affects: fedora-all [bug 1789598]

Comment 2 Huzaifa S. Sidhpurwala 2020-01-10 14:06:30 UTC
Statement:

The zip extension was introduced in sqlite-3.22.0, therefore previous versions are not affected by this flaw.

Comment 4 errata-xmlrpc 2020-04-28 15:55:27 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2020:1810 https://access.redhat.com/errata/RHSA-2020:1810

Comment 5 Product Security DevOps Team 2020-04-28 16:35:18 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2019-19959


Note You need to log in before you can comment on or make changes to this bug.