GitHub Advisoryadvisory · crates.io

GHSA-j8q9-5rp9-4mv9 Fix a use-after-free bug in diesels Sqlite backend

CRITICAL Published 2022-05-24 Modified 2022-06-16 Official page ↗
Aliases
CVE-2021-28305
Ecosystem
crates.io
Packages
diesel
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-416
Reviewed
2022-06-16

Affected packages

• crates.io diesel: < 1.4.6 → fixed in 1.4.6

Description

An issue was discovered in the diesel crate before 1.4.6 for Rust. There is a use-after-free in the SQLite backend because the semantics of sqlite3_column_name are not followed.

Related

Alias · CVE (1)

  • CVE-2021-28305 An issue was discovered in the diesel crate before 1.4.6 for Rust. vulnerability

Weakness · CWE (1)

References