Buffer Overflow Affecting dbn package, versions <0.22.1


Severity

Recommended
0.0
medium
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 IDSNYK-RUST-DBN-8179273
  • published10 Oct 2024
  • disclosed7 Oct 2024
  • creditMJUCOM

Introduced: 7 Oct 2024

CVE NOT AVAILABLE CWE-120  (opens in a new tab)

How to fix?

Upgrade dbn to version 0.22.1 or higher.

Overview

Affected versions of this package are vulnerable to Buffer Overflow due to the improper handling of null termination in the c_chars_to_str function. An attacker can cause memory corruption or expose sensitive information by passing a non-null-terminated chars array to this function.

CVSS Scores

version 4.0
version 3.1