Buffer Overflow Affecting lzf package, versions <0.3.2


0.0
medium

Snyk CVSS

    Attack Complexity Low

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-LZF-3110418
  • published 9 Nov 2022
  • disclosed 8 Nov 2022
  • credit Ben Kimock

Introduced: 8 Nov 2022

CVE NOT AVAILABLE CWE-120 Open this link in a new tab

How to fix?

Upgrade lzf to version 0.3.2 or higher.

Overview

Affected versions of this package are vulnerable to Buffer Overflow due to the compression and decompression function using mem:uninitialized to create an array of uninitialized values, to later write values into it, leading to reads from uninitialized memory.