Buffer Overflow Affecting lzf package, versions <0.3.2


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-LZF-3110418
  • published9 Nov 2022
  • disclosed8 Nov 2022
  • creditBen Kimock

Introduced: 8 Nov 2022

CVE NOT AVAILABLE CWE-120  (opens 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.

CVSS Scores

version 3.1