Buffer Overflow Affecting dbn package, versions <0.22.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

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 ID SNYK-RUST-DBN-8179273
  • published 10 Oct 2024
  • disclosed 7 Oct 2024
  • credit MJUCOM

Introduced: 7 Oct 2024

CVE NOT AVAILABLE CWE-120 Open this link 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
Expand this section

Snyk

Recommended
6.8 medium
  • Attack Vector (AV)
    Local
  • Attack Complexity (AC)
    Low
  • Attack Requirements (AT)
    None
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    None
  • Confidentiality (VC)
    None
  • Integrity (VI)
    None
  • Availability (VA)
    High
  • Confidentiality (SC)
    None
  • Integrity (SI)
    None
  • Availability (SA)
    None