CVEvulnerability
CVE-2022-31026
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2022-06-09
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 5.9 MEDIUM — CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CVSS 2.0 ([email protected])
- 5.0 MEDIUM — AV:N/AC:L/Au:N/C:P/I:N/A:N
- Weaknesses
- CWE-908
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.
Affected configurations
• trilogy project trilogy (< 2.1.1)
Related
Weakness · CWE (1)
- CWE-908 Use of Uninitialized Resource weakness
References
- https://github.com/github/trilogy/commit/6bed62789eaf119902b0fe247d2a91d56c31a962 Patch, Third Party Advisory
- https://github.com/github/trilogy/security/advisories/GHSA-5g4r-2qhx-vqfm Third Party Advisory
- https://github.com/github/trilogy/commit/6bed62789eaf119902b0fe247d2a91d56c31a962 Patch, Third Party Advisory
- https://github.com/github/trilogy/security/advisories/GHSA-5g4r-2qhx-vqfm Third Party Advisory