Use After Free Affecting mail-internals package, versions >=0.0.0


Severity

Recommended
0.0
critical
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 Learn

Learn about Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUST-MAILINTERNALS-5887139
  • published7 Sept 2023
  • disclosed7 Aug 2023
  • creditUnknown

Introduced: 7 Aug 2023

CVE NOT AVAILABLE CWE-416  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

Affected versions of this package are vulnerable to Use After Free due to an incorrect reallocation logic in the vec_insert_bytes function.

Note:

This function does not have to be called directly to trigger the vulnerability because many methods on EncodingWriter call this function internally.

References

CVSS Scores

version 3.1