CVE-2022-31026 MEDIUM

CVE-2022-31026: Use of Uninitialized Variable in trilogy

Vendor Github
Product trilogy
Weakness CWE-908
Published June 6, 2022
Last update April 23, 2025

CVSS base score

5.9/10
Attack vector Network
Attack complexity High
Privileges required None
User interaction None
Confidentiality None
Integrity None

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

June 6, 2022 CVE published
April 23, 2025 Record updated