Skip to content

← Public intelligence

crates.io package

rusqlite

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

16 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. Unratedcrates.ioPublished

    Incorrect Lifetime Bounds on Closures in rusqlite

    GHSA-q89g-4vhh-mvvm

    Affected
    • crates.io rusqlite >= 0.26.0, < 0.26.2; >= 0.25.0, < 0.25.4
    Fixed in
    0.25.40.26.2· Vendor fix available
    Issue
    The lifetime bound on several closure-accepting rusqlite functions (specifically, functions which register a callback to be later invoked by SQLite) was too relaxed. If a closure referencing borrowed values on the stack is was passed to one of these functions, it could allow Rust code to access objects on the stack after they have been dropped. The impacted functions are: - Under cfg(feature = "functions"): Connection::createscalarfunction, Connection::createaggregatefunction and Connection::createwindowfunction. - Under cfg(feature = "hooks"): Connection::commithook, Connection::rollbackhook and Connection::updatehook. - Under cfg(feature = "collation"): Connection::createcollation. The issue exists in all 0.25. versions prior to 0.25.4, and all 0.26. versions prior to 0.26.2 (specifically: 0.25.0, 0.25.1, 0.25.2, 0.25.3, 0.26.0, and 0.26.1). The fix is available in versions 0.26.2 and newer, and also has been back-ported to 0.25.4. As it does not exist in 0.24., all affected…

    Recommended action: Upgrade to 0.26.2 or 0.25.4 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  2. High, CVSS 7.5crates.ioPublished

    Use After Free in rusqlite

    CVE-2021-45716 · GHSA-cm8g-544f-p9x9

    Affected
    • crates.io rusqlite >= 0.25.0, < 0.25.4; >= 0.26.0, < 0.26.2
    Fixed in
    0.25.40.26.2· Vendor fix available
    Issue
    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. createcollation has a use-after-free.

    Recommended action: Upgrade to 0.26.2 or 0.25.4 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  3. High, CVSS 7.5crates.ioPublished

    Use After Free in rusqlite

    CVE-2021-45713 · GHSA-92cx-4xm7-jr9m

    Affected
    • crates.io rusqlite >= 0.25.0, < 0.25.4; >= 0.26.0, < 0.26.2
    Fixed in
    0.25.40.26.2· Vendor fix available
    Issue
    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. createscalarfunction has a use-after-free.

    Recommended action: Upgrade to 0.26.2 or 0.25.4 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  4. High, CVSS 7.5crates.ioPublished

    Use After Free in rusqlite

    CVE-2021-45714 · GHSA-f6f2-3w33-54r9

    Affected
    • crates.io rusqlite >= 0.25.0, < 0.25.4; >= 0.26.0, < 0.26.2
    Fixed in
    0.25.40.26.2· Vendor fix available
    Issue
    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. createaggregatefunction has a use-after-free.

    Recommended action: Upgrade to 0.26.2 or 0.25.4 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  5. High, CVSS 7.5crates.ioPublished

    Use After Free in rusqlite

    CVE-2021-45718 · GHSA-g4g4-3pqw-8m7f

    Affected
    • crates.io rusqlite >= 0.25.0, < 0.25.4; >= 0.26.0, < 0.26.2
    Fixed in
    0.25.40.26.2· Vendor fix available
    Issue
    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. rollbackhook has a use-after-free.

    Recommended action: Upgrade to 0.26.2 or 0.25.4 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  6. High, CVSS 7.5crates.ioPublished

    Use After Free in rusqlite

    CVE-2021-45717 · GHSA-4qr3-m7ww-hh9g

    Affected
    • crates.io rusqlite >= 0.25.0, < 0.25.4; >= 0.26.0, < 0.26.2
    Fixed in
    0.25.40.26.2· Vendor fix available
    Issue
    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. commithook has a use-after-free.

    Recommended action: Upgrade to 0.26.2 or 0.25.4 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  7. High, CVSS 7.5crates.ioPublished

    Use After Free in rusqlite

    CVE-2021-45715 · GHSA-87xh-9q6h-r5cc

    Affected
    • crates.io rusqlite >= 0.25.0, < 0.25.4; >= 0.26.0, < 0.26.2
    Fixed in
    0.25.40.26.2· Vendor fix available
    Issue
    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. createwindowfunction has a use-after-free.

    Recommended action: Upgrade to 0.26.2 or 0.25.4 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  8. High, CVSS 7.5crates.ioPublished

    Use After Free in rusqlite

    CVE-2021-45719 · GHSA-g87r-23vw-7f87

    Affected
    • crates.io rusqlite >= 0.25.0, < 0.25.4; >= 0.26.0, < 0.26.2
    Fixed in
    0.25.40.26.2· Vendor fix available
    Issue
    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. updatehook has a use-after-free.

    Recommended action: Upgrade to 0.26.2 or 0.25.4 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  9. Critical, CVSS 9.8crates.ioPublished

    Data races in rusqlite

    CVE-2020-35866 · GHSA-6q5w-m3c5-rv95

    Affected
    • crates.io rusqlite < 0.23.0
    Fixed in
    0.23.0· Vendor fix available
    Issue
    An issue was discovered in the rusqlite crate before 0.23.0 for Rust. Memory safety can be violated via VTab / VTabCursor.

    Recommended action: Upgrade to 0.23.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  10. Critical, CVSS 9.8crates.ioPublished

    Data races in rusqlite

    CVE-2020-35867 · GHSA-28ph-f7gx-fqj8

    Affected
    • crates.io rusqlite < 0.23.0
    Fixed in
    0.23.0· Vendor fix available
    Issue
    An issue was discovered in the rusqlite crate before 0.23.0 for Rust. Memory safety can be violated via createmodule.

    Recommended action: Upgrade to 0.23.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  11. Critical, CVSS 9.8crates.ioPublished

    Data races in rusqlite

    CVE-2020-35868 · GHSA-3cgf-9m6x-pwwr

    Affected
    • crates.io rusqlite < 0.23.0
    Fixed in
    0.23.0· Vendor fix available
    Issue
    An issue was discovered in the rusqlite crate before 0.23.0 for Rust. Memory safety can be violated via UnlockNotification.

    Recommended action: Upgrade to 0.23.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  12. Critical, CVSS 9.8crates.ioPublished

    Use after free in rusqlite

    CVE-2020-35870 · GHSA-8h4j-vm3r-vcq3

    Affected
    • crates.io rusqlite < 0.23.0
    Fixed in
    0.23.0· Vendor fix available
    Issue
    An issue was discovered in the rusqlite crate before 0.23.0 for Rust. Memory safety can be violated via an Auxdata API use-after-free.

    Recommended action: Upgrade to 0.23.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  13. Critical, CVSS 9.8crates.ioPublished

    Use after free in rusqlite

    CVE-2020-35873 · GHSA-q3cc-7p7g-392c

    Affected
    • crates.io rusqlite < 0.23.0
    Fixed in
    0.23.0· Vendor fix available
    Issue
    An issue was discovered in the rusqlite crate before 0.23.0 for Rust. Memory safety can be violated because sessions.rs has a use-after-free.

    Recommended action: Upgrade to 0.23.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  14. Critical, CVSS 9.8crates.ioPublished

    Mishandling of format strings in rusqlite

    CVE-2020-35869 · GHSA-8r7q-r9mx-35rh

    Affected
    • crates.io rusqlite < 0.23.0
    Fixed in
    0.23.0· Vendor fix available
    Issue
    An issue was discovered in the rusqlite crate before 0.23.0 for Rust. Memory safety can be violated because rusqlite::trace::log mishandles format strings.

    Recommended action: Upgrade to 0.23.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  15. Critical, CVSS 9.8crates.ioPublished

    Improper type usage in rusqlite

    CVE-2020-35872 · GHSA-g4w7-3qr8-5623

    Affected
    • crates.io rusqlite < 0.23.0
    Fixed in
    0.23.0· Vendor fix available
    Issue
    An issue was discovered in the rusqlite crate before 0.23.0 for Rust. Memory safety can be violated via the repr(Rust) type.

    Recommended action: Upgrade to 0.23.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  16. High, CVSS 8.1crates.ioPublished

    Data races in rusqlite

    CVE-2020-35871 · GHSA-rjh8-p66p-jrh5

    Affected
    • crates.io rusqlite < 0.23.0
    Fixed in
    0.23.0· Vendor fix available
    Issue
    An issue was discovered in the rusqlite crate before 0.23.0 for Rust. Memory safety can be violated via an Auxdata API data race.

    Recommended action: Upgrade to 0.23.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →