Skip to content

CVE-2022-31026 Use of Uninitialized Variable in trilogy

HighCVSS 7.5 EPSS 1.1% PoC
Published
Updated
Exploit status
Proof-of-concept only
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
MySQL

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
rubygems trilogy(RubyGems) < 2.1.1; = 2.0.0; = 2.1.0 2.1.1 Fixed
trilogy project trilogy < 2.1.1 2.1.1 Fixed
GitHub trilogy = < 2.1.1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
rubygems trilogy(RubyGems) < 2.1.1 2.1.1
rubygems trilogy(RubyGems) = 2.0.0 No fix listed
rubygems trilogy(RubyGems) = 2.1.0 No fix listed
GitHub trilogy = < 2.1.1 No fix listed
trilogy project trilogy < 2.1.1 2.1.1

References