CVE-2022-31026

Use of Uninitialized Resource in gem/trilogy

Identifiers

CVE-2022-31026, GHSA-5g4r-2qhx-vqfm

Package Slug

gem/trilogy

Vulnerability

Use of Uninitialized Resource

Description

Trilogy is a client library for MySQL. When authenticating, a malicious server could return a specially crafted authentication packet, causing the client to read and return up to 12 bytes of data from an uninitialized variable in stack memory. Users of the trilogy gem should upgrade to version 2.1.1 This issue can be avoided by only connecting to trusted servers.

Affected Versions

All versions before 2.1.1

Solution

Upgrade to version 2.1.1 or above.

Last Modified

2022-06-17

source