Buffer Overflow Affecting dbn package, versions <0.22.1
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
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.