Medium severity5.9NVD Advisory· Published Jun 9, 2022· Updated Jun 17, 2026
CVE-2022-31026
CVE-2022-31026
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
trilogyRubyGems | < 2.1.1 | 2.1.1 |
Affected products
3Patches
Vulnerability mechanics
References
5- github.com/github/trilogy/commit/6bed62789eaf119902b0fe247d2a91d56c31a962nvdPatchThird Party AdvisoryWEB
- github.com/advisories/GHSA-5g4r-2qhx-vqfmghsaADVISORY
- github.com/github/trilogy/security/advisories/GHSA-5g4r-2qhx-vqfmnvdThird Party AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2022-31026ghsaADVISORY
- github.com/rubysec/ruby-advisory-db/blob/master/gems/trilogy/CVE-2022-31026.ymlghsaWEB
News mentions
0No linked articles in our index yet.