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.
Published · last modified .
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.
EPSS exploit prediction
EPSS 0.011, 66.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- GitHub Trilogy — versions < 2.1.1
- Trilogy Project
Weakness classification (CWE)
References
- github.com/github/trilogy/security/advisories/GHSA-5g4r-2qhx-vqfm (Third Party Advisory)
- github.com/github/trilogy/commit/6bed62789eaf119902b0fe247d2a91d56c31a962 (Patch, Third Party Advisory)