Vulnerability in Github Trilogy

CVE-2022-31026

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.

EPSS: 0.010 (59.2th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2022-31026?
CVE-2022-31026 is a medium-severity vulnerability in Github Trilogy, classified under Use of Uninitialized Resource. CVSS score: 5.9/10. Published 2022-06-09.
How severe is CVE-2022-31026?
Medium severity. CVSS v3 base score is 5.9 out of 10.