CVE-2022-31026
published medium CVSS 3.1 · 5.9Use of Uninitialized Variable in trilogy
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| github | — | trilogy< 2.1.1 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.9 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| github | trilogy | < 2.1.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-908 CWE-908: Use of Uninitialized Resource
References
2Provider assertions
3GitHub_M · cna
Use of Uninitialized Variable in trilogy
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- c125f246afacd1cb9ea4e225a482b0e3fe606d9526bd90f3ccf4e7ae19287daf
- Ingested
- 23 Sep 2026, 08:00:25 UTC
- Source record
- Official CVE record