Use After Free Affecting diesel package, versions <1.4.6


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.21% (60th percentile)

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 IDSNYK-RUST-DIESEL-1085272
  • published12 Mar 2021
  • disclosed12 Mar 2021
  • creditUnknown

Introduced: 12 Mar 2021

CVE-2021-28305  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade diesel to version 1.4.6 or higher.

Overview

diesel is an extensible ORM and Query Builder for Rust.

Affected versions of this package are vulnerable to Use After Free in the SQLite backend because the semantics of sqlite3_column_name are not followed.

References

CVSS Scores

version 3.1