GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

UBUNTU-CVE-2021-45346 (CVE-2021-45346)

Vulnerability from osv_ubuntu – Published: 2022-02-14 19:15 – Updated: 2026-07-20 13:50 – Source website
Withdrawn 2026-07-21 VLAI
Details

A Memory Leak vulnerability exists in SQLite Project SQLite3 3.35.1 and 3.37.0 via maliciously crafted SQL Queries (made via editing the Database File), it is possible to query a record, and leak subsequent bytes of memory that extend beyond the record, which could let a malicious user obtain sensitive information. NOTE: The developer disputes this as a vulnerability stating that If you give SQLite a corrupted database file and submit a query against the database, it might read parts of the database that you did not intend or expect.

Severity

{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libsqlite-tcl",
            "binary_version": "2.8.17-10ubuntu2"
          },
          {
            "binary_name": "libsqlite0",
            "binary_version": "2.8.17-10ubuntu2"
          },
          {
            "binary_name": "sqlite",
            "binary_version": "2.8.17-10ubuntu2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:14.04:LTS",
        "name": "sqlite",
        "purl": "pkg:deb/ubuntu/sqlite@2.8.17-10ubuntu2?arch=source\u0026distro=trusty"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.8.17-8fakesync1",
        "2.8.17-9fakesync1",
        "2.8.17-10ubuntu2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "lemon",
            "binary_version": "3.8.2-1ubuntu2.2+esm5"
          },
          {
            "binary_name": "libsqlite3-0",
            "binary_version": "3.8.2-1ubuntu2.2+esm5"
          },
          {
            "binary_name": "libsqlite3-tcl",
            "binary_version": "3.8.2-1ubuntu2.2+esm5"
          },
          {
            "binary_name": "sqlite3",
            "binary_version": "3.8.2-1ubuntu2.2+esm5"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:14.04:LTS",
        "name": "sqlite3",
        "purl": "pkg:deb/ubuntu/sqlite3@3.8.2-1ubuntu2.2+esm5?arch=source\u0026distro=esm-infra-legacy/trusty"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.7.17-1ubuntu1",
        "3.8.0.2-1ubuntu1",
        "3.8.1-1ubuntu1",
        "3.8.1-1ubuntu3",
        "3.8.2-1ubuntu1",
        "3.8.2-1ubuntu2",
        "3.8.2-1ubuntu2.1",
        "3.8.2-1ubuntu2.2",
        "3.8.2-1ubuntu2.2+esm1",
        "3.8.2-1ubuntu2.2+esm2",
        "3.8.2-1ubuntu2.2+esm3",
        "3.8.2-1ubuntu2.2+esm4",
        "3.8.2-1ubuntu2.2+esm5"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libsqlite-tcl",
            "binary_version": "2.8.17-12fakesync1"
          },
          {
            "binary_name": "libsqlite0",
            "binary_version": "2.8.17-12fakesync1"
          },
          {
            "binary_name": "sqlite",
            "binary_version": "2.8.17-12fakesync1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:16.04:LTS",
        "name": "sqlite",
        "purl": "pkg:deb/ubuntu/sqlite@2.8.17-12fakesync1?arch=source\u0026distro=xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.8.17-12fakesync1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "lemon",
            "binary_version": "3.11.0-1ubuntu1.5+esm3"
          },
          {
            "binary_name": "libsqlite3-0",
            "binary_version": "3.11.0-1ubuntu1.5+esm3"
          },
          {
            "binary_name": "libsqlite3-tcl",
            "binary_version": "3.11.0-1ubuntu1.5+esm3"
          },
          {
            "binary_name": "sqlite3",
            "binary_version": "3.11.0-1ubuntu1.5+esm3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "sqlite3",
        "purl": "pkg:deb/ubuntu/sqlite3@3.11.0-1ubuntu1.5+esm3?arch=source\u0026distro=esm-infra/xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.8.11.1-1",
        "3.9.1-2",
        "3.9.2-1",
        "3.10.0-1",
        "3.10.1-1",
        "3.10.2-1",
        "3.11.0-1ubuntu1",
        "3.11.0-1ubuntu1.1",
        "3.11.0-1ubuntu1.2",
        "3.11.0-1ubuntu1.3",
        "3.11.0-1ubuntu1.4",
        "3.11.0-1ubuntu1.5",
        "3.11.0-1ubuntu1.5+esm1",
        "3.11.0-1ubuntu1.5+esm2",
        "3.11.0-1ubuntu1.5+esm3"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "lemon",
            "binary_version": "3.22.0-1ubuntu0.7+esm2"
          },
          {
            "binary_name": "libsqlite3-0",
            "binary_version": "3.22.0-1ubuntu0.7+esm2"
          },
          {
            "binary_name": "libsqlite3-tcl",
            "binary_version": "3.22.0-1ubuntu0.7+esm2"
          },
          {
            "binary_name": "sqlite3",
            "binary_version": "3.22.0-1ubuntu0.7+esm2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "sqlite3",
        "purl": "pkg:deb/ubuntu/sqlite3@3.22.0-1ubuntu0.7+esm2?arch=source\u0026distro=esm-infra/bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.19.3-3",
        "3.20.1-2",
        "3.21.0-1",
        "3.22.0-1",
        "3.22.0-1ubuntu0.1",
        "3.22.0-1ubuntu0.2",
        "3.22.0-1ubuntu0.3",
        "3.22.0-1ubuntu0.4",
        "3.22.0-1ubuntu0.5",
        "3.22.0-1ubuntu0.6",
        "3.22.0-1ubuntu0.7",
        "3.22.0-1ubuntu0.7+esm1",
        "3.22.0-1ubuntu0.7+esm2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libsqlite-tcl",
            "binary_version": "2.8.17-14fakesync1"
          },
          {
            "binary_name": "libsqlite0",
            "binary_version": "2.8.17-14fakesync1"
          },
          {
            "binary_name": "sqlite",
            "binary_version": "2.8.17-14fakesync1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "sqlite",
        "purl": "pkg:deb/ubuntu/sqlite@2.8.17-14fakesync1?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.8.17-14fakesync1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "lemon",
            "binary_version": "3.31.1-4ubuntu0.7+esm1"
          },
          {
            "binary_name": "libsqlite3-0",
            "binary_version": "3.31.1-4ubuntu0.7+esm1"
          },
          {
            "binary_name": "libsqlite3-tcl",
            "binary_version": "3.31.1-4ubuntu0.7+esm1"
          },
          {
            "binary_name": "sqlite3",
            "binary_version": "3.31.1-4ubuntu0.7+esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:20.04:LTS",
        "name": "sqlite3",
        "purl": "pkg:deb/ubuntu/sqlite3@3.31.1-4ubuntu0.7+esm1?arch=source\u0026distro=esm-infra/focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.29.0-2",
        "3.30.1-1",
        "3.30.1-1ubuntu1",
        "3.31.1-1ubuntu1",
        "3.31.1-3",
        "3.31.1-4",
        "3.31.1-4ubuntu0.1",
        "3.31.1-4ubuntu0.2",
        "3.31.1-4ubuntu0.3",
        "3.31.1-4ubuntu0.4",
        "3.31.1-4ubuntu0.5",
        "3.31.1-4ubuntu0.6",
        "3.31.1-4ubuntu0.7",
        "3.31.1-4ubuntu0.7+esm1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libsqlite-tcl",
            "binary_version": "2.8.17-15fakesync1build1"
          },
          {
            "binary_name": "libsqlite0",
            "binary_version": "2.8.17-15fakesync1build1"
          },
          {
            "binary_name": "sqlite",
            "binary_version": "2.8.17-15fakesync1build1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "sqlite",
        "purl": "pkg:deb/ubuntu/sqlite@2.8.17-15fakesync1build1?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.8.17-15fakesync1build1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libsqlite-tcl",
            "binary_version": "2.8.17-15fakesync1build1"
          },
          {
            "binary_name": "libsqlite0",
            "binary_version": "2.8.17-15fakesync1build1"
          },
          {
            "binary_name": "sqlite",
            "binary_version": "2.8.17-15fakesync1build1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "sqlite",
        "purl": "pkg:deb/ubuntu/sqlite@2.8.17-15fakesync1build1?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.8.17-15fakesync1build1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "lemon",
            "binary_version": "3.37.2-2ubuntu0.7"
          },
          {
            "binary_name": "libsqlite3-0",
            "binary_version": "3.37.2-2ubuntu0.7"
          },
          {
            "binary_name": "libsqlite3-tcl",
            "binary_version": "3.37.2-2ubuntu0.7"
          },
          {
            "binary_name": "sqlite3",
            "binary_version": "3.37.2-2ubuntu0.7"
          },
          {
            "binary_name": "sqlite3-tools",
            "binary_version": "3.37.2-2ubuntu0.7"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "sqlite3",
        "purl": "pkg:deb/ubuntu/sqlite3@3.37.2-2ubuntu0.7?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.35.5-1",
        "3.36.0-2",
        "3.37.2-2",
        "3.37.2-2ubuntu0.1",
        "3.37.2-2ubuntu0.3",
        "3.37.2-2ubuntu0.4",
        "3.37.2-2ubuntu0.5",
        "3.37.2-2ubuntu0.6",
        "3.37.2-2ubuntu0.7"
      ]
    }
  ],
  "aliases": [],
  "details": "A Memory Leak vulnerability exists in SQLite Project SQLite3 3.35.1 and 3.37.0 via maliciously crafted SQL Queries (made via editing the Database File), it is possible to query a record, and leak subsequent bytes of memory that extend beyond the record, which could let a malicious user obtain sensitive information. NOTE: The developer disputes this as a vulnerability stating that If you give SQLite a corrupted database file and submit a query against the database, it might read parts of the database that you did not intend or expect.",
  "id": "UBUNTU-CVE-2021-45346",
  "modified": "2026-07-20T13:50:26Z",
  "published": "2022-02-14T19:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2021-45346"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/guyinatuxedo/sqlite3_record_leaking"
    },
    {
      "type": "REPORT",
      "url": "https://sqlite.org/forum/forumpost/53de8864ba114bf6"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2021-45346"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N",
      "type": "CVSS_V3"
    },
    {
      "score": "low",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2021-45346"
  ],
  "withdrawn": "2026-07-21T15:08:57Z"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…