Access of Uninitialized Pointer Affecting unsafe-libyaml package, versions <0.2.10


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-UNSAFELIBYAML-6137755
  • published21 Dec 2023
  • disclosed21 Dec 2023
  • creditUnknown

Introduced: 21 Dec 2023

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

How to fix?

Upgrade unsafe-libyaml to version 0.2.10 or higher.

Overview

unsafe-libyaml is a libyaml transpile

Affected versions of this package are vulnerable to Access of Uninitialized Pointer due to improper memory alignment when writing u64 values on 32-bit and 16-bit platforms. An attacker can cause undefined behavior or a deterministic crash by exploiting the insufficient alignment of data writes.

CVSS Scores

version 3.1