[Pkg-rust-maintainers] Bug#1079517: rust-sqlx: Binary Protocol Misinterpretation caused by Truncating or Overflowing Casts

Alexander Kjäll alexander.kjall at gmail.com
Sat Aug 24 09:57:10 BST 2024


Package: rust-sqlx
Severity: important
Tags: upstream
X-Debbugs-Cc: alexander.kjall at gmail.com

Dear Maintainer,

As per https://rustsec.org/advisories/RUSTSEC-2024-0363.html all versions 
below 0.8.1 are vulnerable to sql injection on the protocol level.

An example exploit have been demonstrated: https://github.com/launchbadge/sqlx/issues/3440#issuecomment-2307956901


-- System Information:
Debian Release: 12.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-25-amd64 (SMP w/2 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled



More information about the Pkg-rust-maintainers mailing list