Zurück zur Liste

Diesel: Possible unaligned data access for implementations of `SqliteAggregate` — GHSA-Q8X8-JRHJ-FH9P

GitHub · GitHub · GHSA-Q8X8-JRHJ-FH9P

ID
GHSA-Q8X8-JRHJ-FH9P
Datum
Activity
Quelle
GitHub
Vendor
GitHub
Risiko
medium
CVSS
6.3

Zusammenfassung

Diesel allows to register custom aggregate SQL functions for SQLite via the `SqliteAggregate` interface. To store an instance of the custom aggregate processor Diesel relied on the `sqlite3_aggregate_context` function provided by sqlite. This function doesn't provide any guarantees about alignment of the returned allocation, which in turn can lead to problems if the type implementing requires a special alignment,…

Produkt

rust: diesel

Was tun?

Allgemeine, vorsichtige Schritte (bitte prüfe die offizielle Quelle für Details):

  • Prüfe Exponierung und plane Maßnahmen nach Risiko und Umfeld.
  • Identifiziere betroffene Produktversionen und prüfe, ob du betroffen bist.
  • Spiele Hersteller-Updates/Patches ein oder setze empfohlene Mitigations um.
  • Lies das offizielle Advisory für betroffene Versionen und konkrete Schritte.

Offizielles Advisory

Mehr dazu