Use After Free Affecting libflate package, versions >=0.1.14 <0.1.25


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.41% (75th percentile)

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 Learn

Learn about Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUST-LIBFLATE-451552
  • published10 Jul 2019
  • disclosed8 Jul 2019
  • creditSergey Davidoff

Introduced: 8 Jul 2019

CVE-2019-15552  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade libflate to version 0.1.25 or higher.

Overview

libflate is a Rust implementation of DEFLATE algorithm and related formats (ZLIB, GZIP).

Affected versions of this package are vulnerable to Use After Free. MultiDecoder::read() trait drops uninitialized memory of arbitrary type if a panic occurs on client code.

CVSS Scores

version 3.1