NULL Pointer Dereference Affecting av package, versions >=0.0.0


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.12% (47th 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 NULL Pointer Dereference vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUST-AV-1079237
  • published26 Feb 2021
  • disclosed7 Jan 2021
  • creditUnknown

Introduced: 7 Jan 2021

CVE-2021-25904  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

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

Overview

av is a multimedia package.

Affected versions of this package are vulnerable to NULL Pointer Dereference. fn Frame::copy_from_raw_parts() is a safe API that can take a raw pointer and dereference it. It is possible to read arbitrary memory address with an arbitrarily fed pointer. This allows the safe API to access & read arbitrary address in memory. Feeding an invalid memory address pointer to the API may also cause the program to segfault. The flaw was corrected in, by removing the API fn Frame::copy_from_raw_parts().

CVSS Scores

version 3.1