SQL Injection Affecting diesel package, versions <2.2.3


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUST-DIESEL-7830473
  • published25 Aug 2024
  • disclosed23 Aug 2024
  • creditUnknown

Introduced: 23 Aug 2024

CVE NOT AVAILABLE CWE-89  (opens in a new tab)
First added by Snyk

How to fix?

Upgrade diesel to version 2.2.3 or higher.

Overview

diesel is an extensible ORM and Query Builder for Rust.

Affected versions of this package are vulnerable to SQL Injection through the encoding process. An attacker can manipulate the server's interpretation of data by sending inputs that cause overflow in the length prefix, leading to misinterpretation as binary protocol commands.

CVSS Scores

version 4.0
version 3.1