Live threats

All CVEs / Trilogy Project

CVE-2022-31026Trilogy Project Trilogy

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.1%
probability of exploitation in 30 days · percentile 67
Auth required
No
Published
Jun 9, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-908
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Trilogy.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems trilogy < 2.1.1 2.1.1 gem "trilogy", ">= 2.1.1"

Per OSV / GitHub Advisories (GHSA-5g4r-2qhx-vqfm). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
trilogy_projecttrilogy< 2.1.1

Official sources

References

Links published by the sources. Open them with care.