Use After Free Affecting yottadb package, versions <1.2.0


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.97% (84th 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-YOTTADB-1076584
  • published18 Feb 2021
  • disclosed18 Feb 2021
  • creditUnknown

Introduced: 18 Feb 2021

CVE-2021-27377  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade yottadb to version 1.2.0 or higher.

Overview

yottadb is a Rust wrappers for the NoSQL database YottaDB

Affected versions of this package are vulnerable to Use After Free. An issue was discovered in the yottadb crate before 1.2.0 for Rust. For some memory-allocation patterns, ydb_subscript_next_st and ydb_subscript_prev_st have a use-after-free.

CVSS Scores

version 3.1