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.
Metrics
CVSS 3.1 7.5/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| github | trilogy | < 2.1.1 |
References
- https://github.com/github/trilogy/commit/6bed62789eaf119902b0fe247d2a91d56c31a962Patch, Third Party Advisory
- https://github.com/github/trilogy/security/advisories/GHSA-5g4r-2qhx-vqfmThird Party Advisory
- https://github.com/github/trilogy/commit/6bed62789eaf119902b0fe247d2a91d56c31a962Patch, Third Party Advisory
- https://github.com/github/trilogy/security/advisories/GHSA-5g4r-2qhx-vqfmThird Party Advisory
Timeline
- Published
- Jun 9, 2022
- Last modified
- Jun 17, 2026
- NVD status
- Modified