CVE-2018-20506 (GCVE-0-2018-20506)
Vulnerability from cvelistv5
Published
2019-04-03 17:50
Modified
2024-08-05 12:05
Severity ?
CWE
  • n/a
Summary
SQLite before 3.25.3, when the FTS3 extension is enabled, encounters an integer overflow (and resultant buffer overflow) for FTS3 queries in a "merge" operation that occurs after crafted changes to FTS3 shadow tables, allowing remote attackers to execute arbitrary code by leveraging the ability to run arbitrary SQL statements (such as in certain WebSQL use cases). This is a different vulnerability than CVE-2018-20346.
References
https://sqlite.org/src/info/940f2adc8541a838 x_refsource_MISC
http://seclists.org/fulldisclosure/2019/Jan/62 x_refsource_MISC
http://seclists.org/fulldisclosure/2019/Jan/64 x_refsource_MISC
http://seclists.org/fulldisclosure/2019/Jan/66 x_refsource_MISC
http://seclists.org/fulldisclosure/2019/Jan/67 x_refsource_MISC
http://seclists.org/fulldisclosure/2019/Jan/68 x_refsource_MISC
http://seclists.org/fulldisclosure/2019/Jan/69 x_refsource_MISC
http://www.securityfocus.com/bid/106698 x_refsource_MISC
https://seclists.org/bugtraq/2019/Jan/28 x_refsource_MISC
https://seclists.org/bugtraq/2019/Jan/29 x_refsource_MISC
https://seclists.org/bugtraq/2019/Jan/31 x_refsource_MISC
https://seclists.org/bugtraq/2019/Jan/32 x_refsource_MISC
https://seclists.org/bugtraq/2019/Jan/33 x_refsource_MISC
https://seclists.org/bugtraq/2019/Jan/39 x_refsource_MISC
https://support.apple.com/kb/HT209443 x_refsource_MISC
https://support.apple.com/kb/HT209446 x_refsource_MISC
https://support.apple.com/kb/HT209447 x_refsource_MISC
https://support.apple.com/kb/HT209448 x_refsource_MISC
https://support.apple.com/kb/HT209450 x_refsource_MISC
https://support.apple.com/kb/HT209451 x_refsource_MISC
http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00070.html vendor-advisory, x_refsource_SUSE
https://security.netapp.com/advisory/ntap-20190502-0004/ x_refsource_CONFIRM
https://usn.ubuntu.com/4019-1/ vendor-advisory, x_refsource_UBUNTU
https://usn.ubuntu.com/4019-2/ vendor-advisory, x_refsource_UBUNTU
https://www.oracle.com/security-alerts/cpuapr2020.html x_refsource_MISC
https://lists.debian.org/debian-lts-announce/2020/08/msg00037.html mailing-list, x_refsource_MLIST
https://kc.mcafee.com/corporate/index?page=content&id=SB10365 x_refsource_CONFIRM
Impacted products
Vendor Product Version
n/a n/a Version: n/a
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-05T12:05:17.401Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://sqlite.org/src/info/940f2adc8541a838"
          },
          {
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "http://seclists.org/fulldisclosure/2019/Jan/62"
          },
          {
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "http://seclists.org/fulldisclosure/2019/Jan/64"
          },
          {
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "http://seclists.org/fulldisclosure/2019/Jan/66"
          },
          {
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "http://seclists.org/fulldisclosure/2019/Jan/67"
          },
          {
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "http://seclists.org/fulldisclosure/2019/Jan/68"
          },
          {
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "http://seclists.org/fulldisclosure/2019/Jan/69"
          },
          {
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "http://www.securityfocus.com/bid/106698"
          },
          {
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://seclists.org/bugtraq/2019/Jan/28"
          },
          {
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://seclists.org/bugtraq/2019/Jan/29"
          },
          {
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://seclists.org/bugtraq/2019/Jan/31"
          },
          {
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://seclists.org/bugtraq/2019/Jan/32"
          },
          {
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://seclists.org/bugtraq/2019/Jan/33"
          },
          {
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://seclists.org/bugtraq/2019/Jan/39"
          },
          {
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://support.apple.com/kb/HT209443"
          },
          {
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://support.apple.com/kb/HT209446"
          },
          {
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://support.apple.com/kb/HT209447"
          },
          {
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://support.apple.com/kb/HT209448"
          },
          {
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://support.apple.com/kb/HT209450"
          },
          {
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://support.apple.com/kb/HT209451"
          },
          {
            "name": "openSUSE-SU-2019:1222",
            "tags": [
              "vendor-advisory",
              "x_refsource_SUSE",
              "x_transferred"
            ],
            "url": "http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00070.html"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "https://security.netapp.com/advisory/ntap-20190502-0004/"
          },
          {
            "name": "USN-4019-1",
            "tags": [
              "vendor-advisory",
              "x_refsource_UBUNTU",
              "x_transferred"
            ],
            "url": "https://usn.ubuntu.com/4019-1/"
          },
          {
            "name": "USN-4019-2",
            "tags": [
              "vendor-advisory",
              "x_refsource_UBUNTU",
              "x_transferred"
            ],
            "url": "https://usn.ubuntu.com/4019-2/"
          },
          {
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://www.oracle.com/security-alerts/cpuapr2020.html"
          },
          {
            "name": "[debian-lts-announce] 20200822 [SECURITY] [DLA 2340-1] sqlite3 security update",
            "tags": [
              "mailing-list",
              "x_refsource_MLIST",
              "x_transferred"
            ],
            "url": "https://lists.debian.org/debian-lts-announce/2020/08/msg00037.html"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "https://kc.mcafee.com/corporate/index?page=content\u0026id=SB10365"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "n/a",
          "vendor": "n/a",
          "versions": [
            {
              "status": "affected",
              "version": "n/a"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "SQLite before 3.25.3, when the FTS3 extension is enabled, encounters an integer overflow (and resultant buffer overflow) for FTS3 queries in a \"merge\" operation that occurs after crafted changes to FTS3 shadow tables, allowing remote attackers to execute arbitrary code by leveraging the ability to run arbitrary SQL statements (such as in certain WebSQL use cases). This is a different vulnerability than CVE-2018-20346."
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "description": "n/a",
              "lang": "en",
              "type": "text"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2021-07-31T07:06:33.000Z",
        "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
        "shortName": "mitre"
      },
      "references": [
        {
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://sqlite.org/src/info/940f2adc8541a838"
        },
        {
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "http://seclists.org/fulldisclosure/2019/Jan/62"
        },
        {
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "http://seclists.org/fulldisclosure/2019/Jan/64"
        },
        {
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "http://seclists.org/fulldisclosure/2019/Jan/66"
        },
        {
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "http://seclists.org/fulldisclosure/2019/Jan/67"
        },
        {
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "http://seclists.org/fulldisclosure/2019/Jan/68"
        },
        {
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "http://seclists.org/fulldisclosure/2019/Jan/69"
        },
        {
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "http://www.securityfocus.com/bid/106698"
        },
        {
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://seclists.org/bugtraq/2019/Jan/28"
        },
        {
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://seclists.org/bugtraq/2019/Jan/29"
        },
        {
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://seclists.org/bugtraq/2019/Jan/31"
        },
        {
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://seclists.org/bugtraq/2019/Jan/32"
        },
        {
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://seclists.org/bugtraq/2019/Jan/33"
        },
        {
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://seclists.org/bugtraq/2019/Jan/39"
        },
        {
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://support.apple.com/kb/HT209443"
        },
        {
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://support.apple.com/kb/HT209446"
        },
        {
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://support.apple.com/kb/HT209447"
        },
        {
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://support.apple.com/kb/HT209448"
        },
        {
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://support.apple.com/kb/HT209450"
        },
        {
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://support.apple.com/kb/HT209451"
        },
        {
          "name": "openSUSE-SU-2019:1222",
          "tags": [
            "vendor-advisory",
            "x_refsource_SUSE"
          ],
          "url": "http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00070.html"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://security.netapp.com/advisory/ntap-20190502-0004/"
        },
        {
          "name": "USN-4019-1",
          "tags": [
            "vendor-advisory",
            "x_refsource_UBUNTU"
          ],
          "url": "https://usn.ubuntu.com/4019-1/"
        },
        {
          "name": "USN-4019-2",
          "tags": [
            "vendor-advisory",
            "x_refsource_UBUNTU"
          ],
          "url": "https://usn.ubuntu.com/4019-2/"
        },
        {
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://www.oracle.com/security-alerts/cpuapr2020.html"
        },
        {
          "name": "[debian-lts-announce] 20200822 [SECURITY] [DLA 2340-1] sqlite3 security update",
          "tags": [
            "mailing-list",
            "x_refsource_MLIST"
          ],
          "url": "https://lists.debian.org/debian-lts-announce/2020/08/msg00037.html"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://kc.mcafee.com/corporate/index?page=content\u0026id=SB10365"
        }
      ],
      "x_legacyV4Record": {
        "CVE_data_meta": {
          "ASSIGNER": "cve@mitre.org",
          "ID": "CVE-2018-20506",
          "STATE": "PUBLIC"
        },
        "affects": {
          "vendor": {
            "vendor_data": [
              {
                "product": {
                  "product_data": [
                    {
                      "product_name": "n/a",
                      "version": {
                        "version_data": [
                          {
                            "version_value": "n/a"
                          }
                        ]
                      }
                    }
                  ]
                },
                "vendor_name": "n/a"
              }
            ]
          }
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "eng",
              "value": "SQLite before 3.25.3, when the FTS3 extension is enabled, encounters an integer overflow (and resultant buffer overflow) for FTS3 queries in a \"merge\" operation that occurs after crafted changes to FTS3 shadow tables, allowing remote attackers to execute arbitrary code by leveraging the ability to run arbitrary SQL statements (such as in certain WebSQL use cases). This is a different vulnerability than CVE-2018-20346."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "eng",
                  "value": "n/a"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://sqlite.org/src/info/940f2adc8541a838",
              "refsource": "MISC",
              "url": "https://sqlite.org/src/info/940f2adc8541a838"
            },
            {
              "name": "http://seclists.org/fulldisclosure/2019/Jan/62",
              "refsource": "MISC",
              "url": "http://seclists.org/fulldisclosure/2019/Jan/62"
            },
            {
              "name": "http://seclists.org/fulldisclosure/2019/Jan/64",
              "refsource": "MISC",
              "url": "http://seclists.org/fulldisclosure/2019/Jan/64"
            },
            {
              "name": "http://seclists.org/fulldisclosure/2019/Jan/66",
              "refsource": "MISC",
              "url": "http://seclists.org/fulldisclosure/2019/Jan/66"
            },
            {
              "name": "http://seclists.org/fulldisclosure/2019/Jan/67",
              "refsource": "MISC",
              "url": "http://seclists.org/fulldisclosure/2019/Jan/67"
            },
            {
              "name": "http://seclists.org/fulldisclosure/2019/Jan/68",
              "refsource": "MISC",
              "url": "http://seclists.org/fulldisclosure/2019/Jan/68"
            },
            {
              "name": "http://seclists.org/fulldisclosure/2019/Jan/69",
              "refsource": "MISC",
              "url": "http://seclists.org/fulldisclosure/2019/Jan/69"
            },
            {
              "name": "http://www.securityfocus.com/bid/106698",
              "refsource": "MISC",
              "url": "http://www.securityfocus.com/bid/106698"
            },
            {
              "name": "https://seclists.org/bugtraq/2019/Jan/28",
              "refsource": "MISC",
              "url": "https://seclists.org/bugtraq/2019/Jan/28"
            },
            {
              "name": "https://seclists.org/bugtraq/2019/Jan/29",
              "refsource": "MISC",
              "url": "https://seclists.org/bugtraq/2019/Jan/29"
            },
            {
              "name": "https://seclists.org/bugtraq/2019/Jan/31",
              "refsource": "MISC",
              "url": "https://seclists.org/bugtraq/2019/Jan/31"
            },
            {
              "name": "https://seclists.org/bugtraq/2019/Jan/32",
              "refsource": "MISC",
              "url": "https://seclists.org/bugtraq/2019/Jan/32"
            },
            {
              "name": "https://seclists.org/bugtraq/2019/Jan/33",
              "refsource": "MISC",
              "url": "https://seclists.org/bugtraq/2019/Jan/33"
            },
            {
              "name": "https://seclists.org/bugtraq/2019/Jan/39",
              "refsource": "MISC",
              "url": "https://seclists.org/bugtraq/2019/Jan/39"
            },
            {
              "name": "https://support.apple.com/kb/HT209443",
              "refsource": "MISC",
              "url": "https://support.apple.com/kb/HT209443"
            },
            {
              "name": "https://support.apple.com/kb/HT209446",
              "refsource": "MISC",
              "url": "https://support.apple.com/kb/HT209446"
            },
            {
              "name": "https://support.apple.com/kb/HT209447",
              "refsource": "MISC",
              "url": "https://support.apple.com/kb/HT209447"
            },
            {
              "name": "https://support.apple.com/kb/HT209448",
              "refsource": "MISC",
              "url": "https://support.apple.com/kb/HT209448"
            },
            {
              "name": "https://support.apple.com/kb/HT209450",
              "refsource": "MISC",
              "url": "https://support.apple.com/kb/HT209450"
            },
            {
              "name": "https://support.apple.com/kb/HT209451",
              "refsource": "MISC",
              "url": "https://support.apple.com/kb/HT209451"
            },
            {
              "name": "openSUSE-SU-2019:1222",
              "refsource": "SUSE",
              "url": "http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00070.html"
            },
            {
              "name": "https://security.netapp.com/advisory/ntap-20190502-0004/",
              "refsource": "CONFIRM",
              "url": "https://security.netapp.com/advisory/ntap-20190502-0004/"
            },
            {
              "name": "USN-4019-1",
              "refsource": "UBUNTU",
              "url": "https://usn.ubuntu.com/4019-1/"
            },
            {
              "name": "USN-4019-2",
              "refsource": "UBUNTU",
              "url": "https://usn.ubuntu.com/4019-2/"
            },
            {
              "name": "https://www.oracle.com/security-alerts/cpuapr2020.html",
              "refsource": "MISC",
              "url": "https://www.oracle.com/security-alerts/cpuapr2020.html"
            },
            {
              "name": "[debian-lts-announce] 20200822 [SECURITY] [DLA 2340-1] sqlite3 security update",
              "refsource": "MLIST",
              "url": "https://lists.debian.org/debian-lts-announce/2020/08/msg00037.html"
            },
            {
              "name": "https://kc.mcafee.com/corporate/index?page=content\u0026id=SB10365",
              "refsource": "CONFIRM",
              "url": "https://kc.mcafee.com/corporate/index?page=content\u0026id=SB10365"
            }
          ]
        }
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
    "assignerShortName": "mitre",
    "cveId": "CVE-2018-20506",
    "datePublished": "2019-04-03T17:50:54.000Z",
    "dateReserved": "2018-12-26T00:00:00.000Z",
    "dateUpdated": "2024-08-05T12:05:17.401Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…