Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-45717

An issue was discovered in the rusqlite crate 0.25.x before 0.25.4 and 0.26.x before 0.26.2 for Rust. commit_hook has a use-after-free.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-45713, CVE-2021-45714, CVE-2021-45715, CVE-2021-45716, CVE-2021-45717, CVE-2021-45718, CVE-2021-45719
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 07:15 UTC · Revision 1

Source evidence

CVE-2021-45717

core-osv · Original source

Published 26 Dec 2021, 22:15 UTC

An issue was discovered in the rusqlite crate 0.25.x before 0.25.4 and 0.26.x before 0.26.2 for Rust. commit_hook has a use-after-free.

osv:CVE-2021-45717
Complete source record
{
  "id": "02fc58ffa94e112619cc636e85018f009cd3b177876cb1b00e1121eea96ca80e",
  "url": "https://osv.dev/vulnerability/CVE-2021-45717",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-45717",
    "summary": "An issue was discovered in the rusqlite crate 0.25.x before 0.25.4 and 0.26.x before 0.26.2 for Rust. commit_hook has a use-after-free.",
    "evidence": "osv:CVE-2021-45717",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2021-45717",
      "aliases": [
        "CVE-2021-45713",
        "CVE-2021-45714",
        "CVE-2021-45715",
        "CVE-2021-45716",
        "CVE-2021-45717",
        "CVE-2021-45718",
        "CVE-2021-45719",
        "GHSA-4qr3-m7ww-hh9g",
        "GHSA-87xh-9q6h-r5cc",
        "GHSA-92cx-4xm7-jr9m",
        "GHSA-cm8g-544f-p9x9",
        "GHSA-f6f2-3w33-54r9",
        "GHSA-g4g4-3pqw-8m7f",
        "GHSA-g87r-23vw-7f87",
        "GHSA-q89g-4vhh-mvvm",
        "RUSTSEC-2021-0128"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/rusqlite/rusqlite",
              "type": "GIT",
              "events": [
                {
                  "introduced": "517ef2beaefa057917a0d5fa74175d11a20e698d"
                },
                {
                  "fixed": "f4f95f8caf9fd53bffd0c19530be2484c644cc16"
                },
                {
                  "introduced": "3982393bbe8e4df0bcc60ee42cebd026e8533c20"
                },
                {
                  "fixed": "03dbb7821cc341ef3a2fd714532510fe36c8df93"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:rusqlite_project:rusqlite:*:*:*:*:*:rust:*:*",
                    "range": [
                      {
                        "introduced": "0.25.0"
                      },
                      {
                        "fixed": "0.25.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:rusqlite_project:rusqlite:*:*:*:*:*:rust:*:*",
                    "range": [
                      {
                        "introduced": "0.26.0"
                      },
                      {
                        "fixed": "0.26.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.25.3",
            "rusqlite-0.26.1",
            "libsqlite3-sys-v0.23.1",
            "v0.26.0",
            "v0.25.2",
            "v0.25.1",
            "v0.25.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-45717.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:50.768418752Z",
      "provider": "osv",
      "references": [
        "https://rustsec.org/advisories/RUSTSEC-2021-0128.html",
        "https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/rusqlite/RUSTSEC-2021-0128.md"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-45713",
        "evidence": "/aliases"
      },
      {
        "value": "CVE-2021-45714",
        "evidence": "/aliases"
      },
      {
        "value": "CVE-2021-45715",
        "evidence": "/aliases"
      },
      {
        "value": "CVE-2021-45716",
        "evidence": "/aliases"
      },
      {
        "value": "CVE-2021-45717",
        "evidence": "/id"
      },
      {
        "value": "CVE-2021-45718",
        "evidence": "/aliases"
      },
      {
        "value": "CVE-2021-45719",
        "evidence": "/aliases"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 437327,
  "published_at": "2021-12-26T22:15:09.267+00:00"
}